Remove the no-js class if there is JavaScript.
This commit is contained in:
parent
415b202c82
commit
cf7f3c9bb4
1 changed files with 4 additions and 0 deletions
4
assets/js/main.js
Normal file
4
assets/js/main.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
(function ($) {
|
||||
// Update the HTML classes.
|
||||
$('html.no-js').removeClass('no-js').addClass('js');
|
||||
})(jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue