0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Check for window before window.QUnit (#25199)

This commit is contained in:
Łukasz 2018-01-08 13:15:22 +01:00 committed by Johann-S
parent 34cd2038d2
commit 1a231e4bee

View File

@ -39,7 +39,7 @@ const Util = (($) => {
}
function transitionEndTest() {
if (window.QUnit) {
if (typeof window !== 'undefined' && window.QUnit) {
return false
}