mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
Check for window before window.QUnit (#25199)
This commit is contained in:
@@ -39,7 +39,7 @@ const Util = (($) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function transitionEndTest() {
|
function transitionEndTest() {
|
||||||
if (window.QUnit) {
|
if (typeof window !== 'undefined' && window.QUnit) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user