0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/js/src
Ryan Weaver 0cb70e214f
Changing Backdrop rootElement to default to a string (#34092)
The current config can cause the "body" to become stale. Specifically,
if the entire body element is swapped out for a new body element, then
the backdrop will continue to append itself to the original body element,
since it's stored in memory as a reference on this object.

This also no longer allows an explicit null to be passed to Backdrop's rootElement

This still accomplishes the laziness of "not finding the rootElement
until the Backdrop is created" to avoid problems of the JavaScript
being included inside <head> (so, before body is available).
2021-05-31 12:35:59 +03:00
..
dom Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
util Changing Backdrop rootElement to default to a string (#34092) 2021-05-31 12:35:59 +03:00
alert.js Change element.parentNode.removeChild(element) to element.remove() (#34071) 2021-05-25 18:30:38 +03:00
base-component.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
button.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
carousel.js Add getNextActiveElement helper function to utils, replacing custom implementation through components (#33608) 2021-05-19 01:23:52 +03:00
collapse.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
dropdown.js Automatically select an item in the dropdown when using arrow keys (#34052) 2021-05-22 10:58:52 +03:00
modal.js Fix prevented show event disables modals with fade class from being displayed again (#34085) 2021-05-24 18:52:36 +03:00
offcanvas.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
popover.js Change element.parentNode.removeChild(element) to element.remove() (#34071) 2021-05-25 18:30:38 +03:00
scrollspy.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
tab.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
toast.js Release v5.0.1 (#33972) 2021-05-13 19:22:20 +03:00
tooltip.js Change element.parentNode.removeChild(element) to element.remove() (#34071) 2021-05-25 18:30:38 +03:00