Add test for JavaScript to help style elements progressively

This commit is contained in:
Michael Rose 2016-03-21 15:59:16 -04:00
parent 5c79a09f08
commit 3173c0dc1d

View file

@ -9,6 +9,10 @@
<meta name="MobileOptimized" content="320"> <meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
</script>
<!-- For all browsers --> <!-- For all browsers -->
<link rel="stylesheet" href="{{ base_path }}/assets/css/main.css"> <link rel="stylesheet" href="{{ base_path }}/assets/css/main.css">