From 0aa00eef0e8d5b652b75e4f0dba0a336418ed1c0 Mon Sep 17 00:00:00 2001 From: shrkey Date: Wed, 19 Oct 2016 00:44:31 +0100 Subject: [PATCH] testing hashes --- escape.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/escape.html b/escape.html index bbb0295..8ecd6e8 100644 --- a/escape.html +++ b/escape.html @@ -34,6 +34,12 @@ $('pre code').each(function(i, block) { hljs.highlightBlock(block); }); + + var hash = window.location.hash; + if(hash != '') { + location.href = hash; + } + });