mirror of https://github.com/gin-gonic/gin.git
Remove type attribute from HTML script tag to be consistent with the rest of the codebase. (#1623)
The `<script>` tag is used to define a client-side script (JavaScript). The "type" attribute is required in HTML 4, but optional in HTML5.
This commit is contained in:
parent
f83cdb357e
commit
af23ac2256
|
@ -22,7 +22,7 @@
|
|||
<!-- Primjs -->
|
||||
<link href="/static/prismjs.min.css" rel="stylesheet">
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
StartRealtime({{.roomid}}, {{.timestamp}});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue