From a7f98cbed97340b8ff52082703e420e36e7825c8 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 6 May 2020 16:31:17 +0200 Subject: [PATCH] Fix infinite loop --- www/common/common-interface.js | 1 + www/settings/inner.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 20eb1d536..55fe42e2a 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -1044,6 +1044,7 @@ define([ var MutationObserver = window.MutationObserver; var addTippy = function (i, el) { if (el._tippy) { return; } + if (!el.getAttribute('title')) { return; } if (el.nodeName === 'IFRAME') { return; } var opts = { distance: 15 diff --git a/www/settings/inner.js b/www/settings/inner.js index 255670c27..5e0cf5440 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -1586,4 +1586,4 @@ define([ UI.removeLoadingScreen(); }); -}); \ No newline at end of file +});