forked from flanchan/doushio
9 lines
170 B
9 lines
170 B
6 years ago
|
<script>
|
||
|
var hash = document.location.hash;
|
||
|
if (hash) {
|
||
|
var m = dest.match(/^(.*)#\d+$/);
|
||
|
dest = (m ? m[1] : dest) + hash;
|
||
|
}
|
||
|
document.location.replace(dest);
|
||
|
</script>
|