Skip to content

Commit 0a5e460

Browse files
Trying to fix MIME type error
The mime type error is coming up in some components (as observed in the component angularplasmid)
1 parent 1967592 commit 0a5e460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/templates/main/visualizations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</div>
3535
<div id='snippetDiv'></div>
3636
</body>
37-
<script>
37+
<script type="application/x-javascript">
3838
//
3939
String.prototype.replaceAll = function(search, replacement) {
4040
var target = this;
@@ -90,4 +90,4 @@
9090
eval(script);
9191

9292
</script>
93-
</html>
93+
</html>

0 commit comments

Comments
 (0)