1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-10 15:44:51 +02:00

Remove assignment from return.

This commit is contained in:
XhmikosR
2019-02-26 15:25:59 +02:00
parent 5bcd6a29cd
commit 5ac1a12625

View File

@@ -87,9 +87,11 @@ function getUidEvent(element, uid) {
function getEvent(element) {
const uid = getUidEvent(element)
element.uidEvent = uid
return eventRegistry[uid] = eventRegistry[uid] || {}
element.uidEvent = uid
eventRegistry[uid] = eventRegistry[uid] || {}
return eventRegistry[uid]
}
function fixEvent(event, element) {