mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-18 12:39:41 +03:00
Check for window before window.QUnit (#25199)
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ const Util = (($) => {
|
||||
}
|
||||
|
||||
function transitionEndTest() {
|
||||
if (window.QUnit) {
|
||||
if (typeof window !== 'undefined' && window.QUnit) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user