2
0
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:
Rohit Sharma
2021-03-27 21:38:45 +05:30
committed by XhmikosR
parent 7b7f4a5ced
commit b2bc159d72
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ const findShadowRoot = element => {
return findShadowRoot(element.parentNode)
}
const noop = () => function () {}
const noop = () => {}
const reflow = element => element.offsetHeight