diff options
Diffstat (limited to 'js/src/dom')
-rw-r--r-- | js/src/dom/event-handler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dom/event-handler.js b/js/src/dom/event-handler.js index 71b3a643b8..98ebddaa23 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) { |