diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-03-11 18:13:30 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-03-11 18:59:08 +0300 |
commit | ac67e04ce016406377595291ff1357eda63cc311 (patch) | |
tree | 4ad39e3b7079bdb0494ed827f90f49dda7b35ee2 /js/dist/dom/polyfill.js | |
parent | c2b05dd7b5e6e66475dc89de1ca9466c92eb1e90 (diff) |
Dist.
Diffstat (limited to 'js/dist/dom/polyfill.js')
-rw-r--r-- | js/dist/dom/polyfill.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/dist/dom/polyfill.js b/js/dist/dom/polyfill.js index 525bc82c1c..ac86ba6ee8 100644 --- a/js/dist/dom/polyfill.js +++ b/js/dist/dom/polyfill.js @@ -16,7 +16,8 @@ * -------------------------------------------------------------------------- */ var MAX_UID = 1000000; - var jQuery = window.jQuery; // Shoutout AngusCroll (https://goo.gl/pxwQGp) + var _window = window, + jQuery = _window.jQuery; // Shoutout AngusCroll (https://goo.gl/pxwQGp) /** * -------------------------------------------------------------------------- * Public Util Api @@ -65,7 +66,7 @@ try { element.querySelectorAll(':scope *'); - } catch (e) { + } catch (error) { return false; } |