aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/modal.js
diff options
context:
space:
mode:
authorBardi Harborow <[email protected]>2016-11-22 01:36:00 +1100
committerBardi Harborow <[email protected]>2016-11-24 11:59:55 +1100
commitc2616fb74e6bdc0cd46a5678a2c5cffcbe422106 (patch)
treec9f2db3c292861301816f255bbe25b9b45fdd8b2 /js/tests/unit/modal.js
parent26c16743fce73db5f85c9f16fe59242f876c5360 (diff)
downloadbootstrap-c2616fb74e6bdc0cd46a5678a2c5cffcbe422106.tar.xz
bootstrap-c2616fb74e6bdc0cd46a5678a2c5cffcbe422106.zip
Make JS compliant with the new ESLint rules.
Diffstat (limited to 'js/tests/unit/modal.js')
-rw-r--r--js/tests/unit/modal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js
index f5157d454..2d5911af3 100644
--- a/js/tests/unit/modal.js
+++ b/js/tests/unit/modal.js
@@ -1,5 +1,5 @@
$(function () {
- 'use strict';
+ 'use strict'
QUnit.module('modal plugin')
@@ -374,7 +374,7 @@ $(function () {
var paddingRight = parseInt($(document.body).css('padding-right'), 10)
assert.strictEqual(isNaN(paddingRight), false)
assert.strictEqual(paddingRight !== 0, true)
- $(document.body).css('padding-right', ''); // Because test case "should ignore other inline styles when trying to restore body padding after closing" fail if not
+ $(document.body).css('padding-right', '') // Because test case "should ignore other inline styles when trying to restore body padding after closing" fail if not
done()
})
.bootstrapModal('show')