Ensure we have function data before considering tooltips

This commit is contained in:
mattpass
2020-12-23 16:34:36 +00:00
parent 8f54ff53bc
commit 5e89f0945d

View File

@@ -726,7 +726,7 @@ var ICEcoder = {
functionArgsTooltip: function(e, area) {
let numLintErrors;
if (this.indexData) {
if (this.indexData && this.indexData.functions) {
// If we have no files open, return early
if (0 === this.openFiles.length) {
get('tooltip').style.display = "none";