diff options
| author | Bardi Harborow <[email protected]> | 2016-11-22 01:36:00 +1100 |
|---|---|---|
| committer | Bardi Harborow <[email protected]> | 2016-11-24 11:59:55 +1100 |
| commit | c2616fb74e6bdc0cd46a5678a2c5cffcbe422106 (patch) | |
| tree | c9f2db3c292861301816f255bbe25b9b45fdd8b2 /js/tests/unit/modal.js | |
| parent | 26c16743fce73db5f85c9f16fe59242f876c5360 (diff) | |
| download | bootstrap-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.js | 4 |
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') |
