aboutsummaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2018-07-11 10:40:06 +0200
committerJohann-S <[email protected]>2018-07-11 11:05:38 +0200
commit283ab30164f0f58ffb13063d800b7a2ee686bb8a (patch)
tree642c8504cdc6dc5bb2ba866bf6918d45010633c8 /js/tests
parentcb82394fc8645d4e41476d19693844fac5022b4c (diff)
downloadbootstrap-283ab30164f0f58ffb13063d800b7a2ee686bb8a.tar.xz
bootstrap-283ab30164f0f58ffb13063d800b7a2ee686bb8a.zip
fix(modal): fix unit test and resetting style
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/modal.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js
index 2729e4e4b..53a2e0416 100644
--- a/js/tests/unit/modal.js
+++ b/js/tests/unit/modal.js
@@ -21,7 +21,8 @@ $(function () {
document.body.removeChild(scrollDiv)
return scrollbarWidth
}
- // Simulate scrollbars in PhantomJS
+
+ // Simulate scrollbars
$('html').css('padding-right', '16px')
},
beforeEach: function () {