Procházet zdrojové kódy

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.
Barnabus před 7 roky
rodič
revize
af23ac2256

+ 1 - 1
examples/realtime-advanced/resources/room_login.templ.html

@@ -22,7 +22,7 @@
         <!-- Primjs -->
         <!-- Primjs -->
         <link href="/static/prismjs.min.css" rel="stylesheet">
         <link href="/static/prismjs.min.css" rel="stylesheet">
 
 
-        <script type="text/javascript">
+        <script>
             $(document).ready(function() { 
             $(document).ready(function() { 
               StartRealtime({{.roomid}}, {{.timestamp}});
               StartRealtime({{.roomid}}, {{.timestamp}});
             });
             });