aboutsummaryrefslogtreecommitdiff
path: root/js/src/dom/event-handler.js
diff options
context:
space:
mode:
authorMarkus Hatvan <[email protected]>2019-08-22 21:17:34 +0200
committerXhmikosR <[email protected]>2019-08-22 22:17:34 +0300
commit4d101491da094418a768ff2f44be1ca85fd85922 (patch)
treedd6e4fe48b96df3cf4fe4f01839d1dd1aec8e0b2 /js/src/dom/event-handler.js
parent6885d65578b4938f3a8fdf1de65946c79415b94d (diff)
downloadbootstrap-4d101491da094418a768ff2f44be1ca85fd85922.tar.xz
bootstrap-4d101491da094418a768ff2f44be1ca85fd85922.zip
Remaining JS linting TODO (#29289)
* Enable and fix all occurrences with no-mixed-operators rule * Take care of the max-depth warning in button.js Signed-off-by: mhatvan <[email protected]>
Diffstat (limited to 'js/src/dom/event-handler.js')
-rw-r--r--js/src/dom/event-handler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dom/event-handler.js b/js/src/dom/event-handler.js
index 71b3a643b..98ebddaa2 100644
--- a/js/src/dom/event-handler.js
+++ b/js/src/dom/event-handler.js
@@ -81,7 +81,7 @@ const nativeEvents = [
*/
function getUidEvent(element, uid) {
- return uid && `${uid}::${uidEvent++}` || element.uidEvent || uidEvent++
+ return (uid && `${uid}::${uidEvent++}`) || element.uidEvent || uidEvent++
}
function getEvent(element) {