diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-10 03:53:07 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-09-10 03:53:07 +0300 |
commit | 8aa927e840f590908543c3cb891d50fcbc3b368f (patch) | |
tree | 59bf92b49f4615aa26f005ab745cc1a06d471ac5 /static | |
parent | 3dc99cd44c6573876cf129830a346675b6aabef7 (diff) |
address gnab/remark#539
Diffstat (limited to 'static')
-rwxr-xr-x | static/js/remark.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/remark.js b/static/js/remark.js index cd0089a..b88613c 100755 --- a/static/js/remark.js +++ b/static/js/remark.js @@ -2123,7 +2123,7 @@ Dom.prototype.getLocationHash = function () { }; Dom.prototype.setLocationHash = function (hash) { - if (typeof window.history.replaceState === 'function' && document.origin !== 'null') { + if (typeof window.history.replaceState === 'function' && window.origin !== 'null') { window.history.replaceState(undefined, undefined, hash); } else { |