Fix window.hashchange is not a function

This commit is contained in:
Ferdia McKeogh 2019-08-21 09:13:51 +01:00
parent bea0372a1a
commit 5a446c1ea9
No known key found for this signature in database
GPG Key ID: 3833B11039393B9A

View File

@ -344,7 +344,7 @@ if (!DOMTokenList.prototype.remove) {
var set_fragment = function(name) {
if (browserSupportsHistoryApi()) {
history.replaceState(null, null, "#" + name);
window.hashchange();
highlightSourceLines(null);
} else {
location.replace("#" + name);
}