mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Check for window before window.QUnit (#25199)
This commit is contained in:
parent
34cd2038d2
commit
1a231e4bee
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ const Util = (($) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
function transitionEndTest() {
|
function transitionEndTest() {
|
||||||
if (window.QUnit) {
|
if (typeof window !== 'undefined' && window.QUnit) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue