commit: db9cb3662b262e7a1300190b66b5d628712d6bd0
parent 65e96e91cbc39e4c63ada8e71f305555990fe6c9
Author: microlith57 <microlith57@gmail.com>
Date: Fri, 14 Jun 2019 10:51:29 +1200
Replace deprecated function
Signed-off-by:
microlith57 <microlith57@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/404.html b/404.html
@@ -31,7 +31,7 @@ permalink: /404.html
<body style='background:black; color:white'>
<script>
// Find current path (relative to grimgrains.com)
- var target = unescape(window.location.pathname);
+ var target = decodeURI(window.location.pathname);
// Fancy slugify regex bit
target = target.toLowerCase();