diff options
Diffstat (limited to 'js/dist/dom/polyfill.js')
-rw-r--r-- | js/dist/dom/polyfill.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/dist/dom/polyfill.js b/js/dist/dom/polyfill.js index a74051934e..fefa0f5696 100644 --- a/js/dist/dom/polyfill.js +++ b/js/dist/dom/polyfill.js @@ -25,7 +25,6 @@ var getUID = function getUID(prefix) { do { - // eslint-disable-next-line no-bitwise prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here } while (document.getElementById(prefix)); @@ -123,7 +122,7 @@ try { element.querySelectorAll(':scope *'); - } catch (error) { + } catch (_) { return false; } |