]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Fix backdrop `rootElement` not initialized in Modal (#33853)
authorNagarjun Bodduna <boddunan@gmail.com>
Mon, 10 May 2021 18:17:53 +0000 (23:47 +0530)
committerGitHub <noreply@github.com>
Mon, 10 May 2021 18:17:53 +0000 (21:17 +0300)
commit741fa589d027c2d16bff844e45a08c842f5f7e04
treedb1823b7d11cd5558d630eaffd64866cdfbef0d5
parent308ffba7930a33b93d0366ad6c19336f907e60da
Fix backdrop `rootElement` not initialized in Modal (#33853)

* Initialize default value of rootElement before using

* Remove redundant test | put rootElement tests together

Co-authored-by: GeoSot <geo.sotis@gmail.com>
js/src/util/backdrop.js
js/tests/unit/util/backdrop.spec.js