diff options
| author | vsn4ik <[email protected]> | 2013-08-05 05:40:25 +0400 |
|---|---|---|
| committer | vsn4ik <[email protected]> | 2013-08-05 05:40:25 +0400 |
| commit | efc7514f9f9dc3da07fd8eb6f3b2308b5f0d130f (patch) | |
| tree | 2a6d42e8a3f83f563396f1eb3584e0cc4da480a3 /_includes/header.html | |
| parent | 2b6ec389876fac116ae2a152e47be321632dd9ba (diff) | |
| download | bootstrap-efc7514f9f9dc3da07fd8eb6f3b2308b5f0d130f.tar.xz bootstrap-efc7514f9f9dc3da07fd8eb6f3b2308b5f0d130f.zip | |
Remove type attribute of tag "script".
In HTML5 in tag script, the type attribute is no longer required. The default value is "text/javascript".
http://www.w3.org/TR/html5/scripting-1.html#attr-script-type
Diffstat (limited to '_includes/header.html')
| -rw-r--r-- | _includes/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/header.html b/_includes/header.html index b5eff5f5e..827b1c2c9 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -31,12 +31,12 @@ <link rel="apple-touch-icon-precomposed" href="{{ page.base_url }}assets/ico/apple-touch-icon-57-precomposed.png"> <link rel="shortcut icon" href="{{ page.base_url }}assets/ico/favicon.png"> -<script type="text/javascript"> +<script> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-146052-10']); _gaq.push(['_trackPageview']); (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + var ga = document.createElement('script'); ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); |
