Skip to content

Commit

Permalink
ELEC-572: Fix loading of CSS/scripts in Chrome (#31)
Browse files Browse the repository at this point in the history
Strict MIME type checking prevented CSS and scripts from being loaded without an appropriate "type" in the link/script tag.
  • Loading branch information
aaronhktan authored Nov 17, 2018
1 parent d3f9dec commit a23b56b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/src/driver_display.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<title>UWMidsun Driver Display</title>
<meta name="description" content="UWMidsun Driver Display">
<meta name="author" content="UWMidsun">
<link href="css/stylesheet.css" rel="stylesheet">
<link href="css/plottable.css" rel="stylesheet">
<link type="text/css" href="css/stylesheet.css" rel="stylesheet">
<link type="text/css" href="css/plottable.css" rel="stylesheet">
</head>

<body>
Expand Down Expand Up @@ -73,9 +73,9 @@
</div>
</div>
</div>
<script src="static/d3.js"></script>
<script src="static/plottable.js"></script>
<script data-main="js/dd" src="static/require.js"></script>
<script type="text/javascript" src="static/d3.js"></script>
<script type="text/javascript" src="static/plottable.js"></script>
<script type="text/javascript" data-main="js/dd" src="static/require.js"></script>
</body>

</html>

0 comments on commit a23b56b

Please sign in to comment.