0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/js
alpadev 4927388197
Register only one DOMContentLoaded event listener in onDOMContentLoaded (#34158)
* refactor: reuse one DOMContentLoaded event listener in onDOMContentLoaded function

Instead of adding an event listener everytime the utility function is called, cache the callbacks and execute them all at once.

* refactor: drop iife for onDOMContentLoaded

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 20:19:55 +03:00
..
dist Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
src Register only one DOMContentLoaded event listener in onDOMContentLoaded (#34158) 2021-06-22 20:19:55 +03:00
tests Register only one DOMContentLoaded event listener in onDOMContentLoaded (#34158) 2021-06-22 20:19:55 +03:00
index.esm.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
index.umd.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00