Skip to content

Commit ac9a2db

Browse files
Merge pull request #112 from ContentsViewer/pre
日本語を含むhash移動に対応
2 parents 698b22b + 92a6c8f commit ac9a2db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Client/ContentsViewer/ContentsViewerStandard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ window.onresize = function() {
204204
function JumpToHash(hash) {
205205
if (!hash) return false;
206206
hash = hash.substr(1);
207+
hash = decodeURIComponent(hash);
207208
// alert(hash);
208209
var target = document.getElementById(hash);
209210
if (!target) target = document.querySelector('[name="' + hash + '"]');

0 commit comments

Comments
 (0)