Use strict to solve syntax error on some devices

pull/3/head
Maik de Kruif 6 years ago
parent 65ee406301
commit 8778b83bb2
  1. 1
      error_pages/404.html

@ -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;');

Loading…
Cancel
Save