testing hashes

This commit is contained in:
shrkey
2016-10-19 00:44:31 +01:00
parent ba815ef214
commit 0aa00eef0e

View File

@@ -34,6 +34,12 @@
$('pre code').each(function(i, block) { $('pre code').each(function(i, block) {
hljs.highlightBlock(block); hljs.highlightBlock(block);
}); });
var hash = window.location.hash;
if(hash != '') {
location.href = hash;
}
}); });
</script> </script>
</head> </head>