Skip to content

Commit

Permalink
Fixed jump to anchor issue when navigating to source file
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Nov 6, 2016
1 parent 2b722b5 commit 94b726f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/html/resize.js
Expand Up @@ -101,6 +101,7 @@ function initResizable()
}
var width = readCookie('width');
if (width) { restoreWidth(width); } else { resizeWidth(); }
resizeHeight();
var url = location.href;
var i=url.indexOf("#");
if (i>=0) window.location.hash=url.substr(i);
Expand Down

0 comments on commit 94b726f

Please sign in to comment.