ソースを参照

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 7 年 前
コミット
af23ac2256

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

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