HTML Compliance - Attribute "type" on Element <script>

Warning: The type attribute is unnecessary for JavaScript resources.

HTML5: Edition for Web Authors
http://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html
The default, which is used if the attribute is absent, is "text/javascript".

The Script element
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type.
This commit is contained in:
NOYB
2018-01-21 13:35:06 +01:00
committed by Franco Fichtner
parent b5cb52392c
commit 5533702035
85 changed files with 89 additions and 89 deletions
@@ -25,7 +25,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#}
<script type="text/javascript">
<script>
$( document ).ready(function() {
var data_get_map = {'frm_redis':'/api/redis/settings/get'};