aboutsummaryrefslogtreecommitdiff
path: root/js/tests/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/index.html')
-rw-r--r--js/tests/index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index 194f531aa..b32f0adc2 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>Bootstrap Plugin Test Suite</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- jQuery -->
<script src="vendor/jquery.min.js"></script>
@@ -12,7 +13,12 @@
<script src="vendor/qunit.js"></script>
<style>
#qunit-tests > li.pass {
- display: none;/* Make it easier to see failing tests is Sauce screencasts */
+ display: none;/* Make it easier to see failing tests in Sauce screencasts */
+ }
+
+ #qunit-fixture {
+ top: 0;
+ left: 0;
}
</style>
<script>
@@ -36,6 +42,7 @@
})
QUnit.testStart(function (testDetails) {
+ $(window).scrollTop(0)
QUnit.log = function (details) {
if (!details.result) {
details.name = testDetails.name