Permalink
Browse files

Fixed jump to anchor issue when navigating to source file

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Nov 6, 2016
1 parent 2b722b5 commit 94b726f4273df805846d7fdcd2e9d5bd7627f628
Showing with 1 addition and 0 deletions.
  1. +1 −0 templates/html/resize.js
@@ -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);

0 comments on commit 94b726f

Please sign in to comment.