From e67a6ad3685289437e510906eeffb0d764ba4a37 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Fri, 3 Feb 2017 00:07:08 +0800 Subject: Fix missing type declaration --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/index.js') 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(); }); }); -- cgit v1.2.3