Merge pull request #56 from locomotivemtl/mcaskill-has-js

Mcaskill has js
This commit is contained in:
Dominic Lord
2017-03-02 12:36:25 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ const DATA_API_KEY = '.data-api';
const $document = $(document);
const $window = $(window);
const $html = $(document.documentElement);
const $html = $(document.documentElement).removeClass('has-no-js').addClass('has-js');
const $body = $(document.body);
const isDebug = !!$html.data('debug');

View File

@@ -1,6 +1,6 @@
<!doctype html>
<!--[if lte IE 9]> <html lang="fr" class="ie9"> <![endif]-->
<!--[if gt IE 9]><!--> <html lang="fr"> <!--<![endif]-->
<!--[if lte IE 9]> <html lang="fr" class="has-no-js ie9"> <![endif]-->
<!--[if gt IE 9]><!--> <html lang="fr" class="has-no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">