diff options
Diffstat (limited to 'site')
-rw-r--r-- | site/docs/4.3/assets/js/src/application.js | 2 | ||||
-rw-r--r-- | site/docs/4.3/assets/js/src/search.js | 2 | ||||
-rw-r--r-- | site/docs/4.3/examples/checkout/form-validation.js | 3 | ||||
-rw-r--r-- | site/docs/4.3/examples/dashboard/dashboard.js | 2 | ||||
-rw-r--r-- | site/docs/4.3/examples/offcanvas/offcanvas.js | 2 | ||||
-rw-r--r-- | site/sw.js | 4 |
6 files changed, 9 insertions, 6 deletions
diff --git a/site/docs/4.3/assets/js/src/application.js b/site/docs/4.3/assets/js/src/application.js index 01f4f55db6..66b1d09eb0 100644 --- a/site/docs/4.3/assets/js/src/application.js +++ b/site/docs/4.3/assets/js/src/application.js @@ -156,4 +156,4 @@ }) bsCustomFileInput.init() -}()) +})() diff --git a/site/docs/4.3/assets/js/src/search.js b/site/docs/4.3/assets/js/src/search.js index 459d412df9..dc222508d6 100644 --- a/site/docs/4.3/assets/js/src/search.js +++ b/site/docs/4.3/assets/js/src/search.js @@ -52,4 +52,4 @@ }, debug: false // Set debug to true if you want to inspect the dropdown }) -}()) +})() diff --git a/site/docs/4.3/examples/checkout/form-validation.js b/site/docs/4.3/examples/checkout/form-validation.js index 280849408b..59291c8b39 100644 --- a/site/docs/4.3/examples/checkout/form-validation.js +++ b/site/docs/4.3/examples/checkout/form-validation.js @@ -13,8 +13,9 @@ event.preventDefault() event.stopPropagation() } + form.classList.add('was-validated') }, false) }) }, false) -}()) +})() diff --git a/site/docs/4.3/examples/dashboard/dashboard.js b/site/docs/4.3/examples/dashboard/dashboard.js index de4a6347a3..d3f5499285 100644 --- a/site/docs/4.3/examples/dashboard/dashboard.js +++ b/site/docs/4.3/examples/dashboard/dashboard.js @@ -50,4 +50,4 @@ } } }) -}()) +})() diff --git a/site/docs/4.3/examples/offcanvas/offcanvas.js b/site/docs/4.3/examples/offcanvas/offcanvas.js index ddd19be824..242849afd8 100644 --- a/site/docs/4.3/examples/offcanvas/offcanvas.js +++ b/site/docs/4.3/examples/offcanvas/offcanvas.js @@ -4,4 +4,4 @@ document.querySelector('[data-toggle="offcanvas"]').addEventListener('click', function () { document.querySelector('.offcanvas-collapse').classList.toggle('open') }) -}()) +})() diff --git a/site/sw.js b/site/sw.js index db9229cf04..7d03d3b22a 100644 --- a/site/sw.js +++ b/site/sw.js @@ -2,6 +2,8 @@ // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ +/* eslint-disable max-nested-callbacks */ + (function () { 'use strict' @@ -24,4 +26,4 @@ }) }) } -}()) +})() |