aboutsummaryrefslogtreecommitdiff
path: root/js/dist/dom/event-handler.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-02-10 18:14:51 +0200
committerGitHub <[email protected]>2021-02-10 18:14:51 +0200
commite50c11b8c6434b6d68ea5897771e4d35fe12f5c3 (patch)
treebb52939845662ce21d01c370092a12fbb0875fb4 /js/dist/dom/event-handler.js
parent2bb42a9176e7ea361aa1ab0050da5be6a5cb56ea (diff)
downloadbootstrap-5.0.0-beta2.tar.xz
bootstrap-5.0.0-beta2.zip
Release v5.0.0-beta2 (#32467)v5.0.0-beta2
* Bump version to 5.0.0-beta2 * Dist
Diffstat (limited to 'js/dist/dom/event-handler.js')
-rw-r--r--js/dist/dom/event-handler.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/dist/dom/event-handler.js b/js/dist/dom/event-handler.js
index 28e4c93ca..751acc0b1 100644
--- a/js/dist/dom/event-handler.js
+++ b/js/dist/dom/event-handler.js
@@ -1,6 +1,6 @@
/*!
- * Bootstrap event-handler.js v5.0.0-beta1 (https://getbootstrap.com/)
- * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Bootstrap event-handler.js v5.0.0-beta2 (https://getbootstrap.com/)
+ * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
(function (global, factory) {
@@ -11,7 +11,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.0.0-beta1): util/index.js
+ * Bootstrap (v5.0.0-beta2): util/index.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -27,11 +27,11 @@
return null;
};
- var isRTL = document.documentElement.dir === 'rtl';
+ document.documentElement.dir === 'rtl';
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.0.0-beta1): dom/event-handler.js
+ * Bootstrap (v5.0.0-beta2): dom/event-handler.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -91,6 +91,7 @@
event.delegateTarget = target;
if (handler.oneOff) {
+ // eslint-disable-next-line unicorn/consistent-destructuring
EventHandler.off(element, event.type, fn);
}