mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-27 14:46:01 +03:00
Use cached noop function everywhere
This commit is contained in:
@@ -190,7 +190,7 @@ const findShadowRoot = element => {
|
||||
return findShadowRoot(element.parentNode)
|
||||
}
|
||||
|
||||
const noop = () => function () {}
|
||||
const noop = () => {}
|
||||
|
||||
const reflow = element => element.offsetHeight
|
||||
|
||||
|
||||
Reference in New Issue
Block a user