Skip to content

Commit

Permalink
Fixing HTML validator warning (#1692)
Browse files Browse the repository at this point in the history
The script type property is no longer needed and generates a warning when the HTML is validated using browser plugins.
  • Loading branch information
paulsmithkc authored May 7, 2022
1 parent 6d2dfe5 commit 1730f6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/live-server/injected.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Code injected by live-server -->
<script type="text/javascript">
<script>
// <![CDATA[ <-- For SVG support
if ('WebSocket' in window) {
(function () {
Expand Down Expand Up @@ -35,4 +35,4 @@
console.error('Upgrade your browser. This Browser is NOT supported WebSocket for Live-Reloading.');
}
// ]]>
</script>
</script>

1 comment on commit 1730f6b

@Layer13w9
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the main function is incorrect

Please sign in to comment.