mirror of https://github.com/twbs/bootstrap.git
Remove assignment from return.
This commit is contained in:
parent
5bcd6a29cd
commit
5ac1a12625
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue