Use strict to solve syntax error on some devices

This commit is contained in:
Maik de Kruif
2019-03-15 18:50:56 +01:00
parent 65ee406301
commit 8778b83bb2
+1
View File
@@ -253,6 +253,7 @@
</div>
</div>
<script>
"use strict";
window.onload = function() {
let wl = window.location.pathname;
let out = wl.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');