mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
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
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<script src="{{ page.base_url }}assets/js/jquery.js"></script>
|
||||
<script src="{{ page.base_url }}dist/js/bootstrap.js"></script>
|
||||
|
||||
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
|
||||
<script src="http://platform.twitter.com/widgets.js"></script>
|
||||
<script src="{{ page.base_url }}assets/js/holder.js"></script>
|
||||
|
||||
<script src="{{ page.base_url }}assets/js/application.js"></script>
|
||||
@@ -15,7 +15,6 @@
|
||||
var _gauges = _gauges || [];
|
||||
(function() {
|
||||
var t = document.createElement('script');
|
||||
t.type = 'text/javascript';
|
||||
t.async = true;
|
||||
t.id = 'gauges-tracker';
|
||||
t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');
|
||||
|
||||
Reference in New Issue
Block a user