Skip to content

Commit 92a6c8f

Browse files
日本語を含むhash移動に対応
1 parent 82979eb commit 92a6c8f

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)