From 5e89f0945d8b3ce92437db0f00eed6e60676a401 Mon Sep 17 00:00:00 2001 From: mattpass Date: Wed, 23 Dec 2020 16:34:36 +0000 Subject: [PATCH] Ensure we have function data before considering tooltips --- assets/js/icecoder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/icecoder.js b/assets/js/icecoder.js index f0c8f3b..c699d40 100644 --- a/assets/js/icecoder.js +++ b/assets/js/icecoder.js @@ -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";