diff options
Diffstat (limited to 'core/src/Polyfill/closest.js')
-rw-r--r-- | core/src/Polyfill/closest.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/Polyfill/closest.js b/core/src/Polyfill/closest.js index 1c608646127..6af05d526a7 100644 --- a/core/src/Polyfill/closest.js +++ b/core/src/Polyfill/closest.js @@ -8,7 +8,7 @@ if (!Element.prototype.matches) { if (!Element.prototype.closest) { Element.prototype.closest = function(s) { - var el = this + let el = this do { if (el.matches(s)) return el |