summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2017-02-03 00:07:08 +0800
committerWu Cheng-Han2017-02-03 00:07:08 +0800
commite67a6ad3685289437e510906eeffb0d764ba4a37 (patch)
tree029a985b118846e769cec00fa1fca2718687ba56 /public/js
parent6c87262bd9d80f2fe409241d2e2084bc99b44b5b (diff)
Fix missing type declaration
Diffstat (limited to 'public/js')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 39f28fbd..56f4fd38 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2675,7 +2675,7 @@ editor.on('update', function () {
});
// clear tooltip which described element has been removed
$('[id^="tooltip"]').each(function (index, element) {
- $ele = $(element);
+ var $ele = $(element);
if ($('[aria-describedby="' + $ele.attr('id') + '"]').length <= 0) $ele.remove();
});
});