Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xaprb/story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorBaron Schwartz <xaprb@users.noreply.github.com>2018-09-10 03:53:07 +0300
committerBaron Schwartz <xaprb@users.noreply.github.com>2018-09-10 03:53:07 +0300
commit8aa927e840f590908543c3cb891d50fcbc3b368f (patch)
tree59bf92b49f4615aa26f005ab745cc1a06d471ac5 /static
parent3dc99cd44c6573876cf129830a346675b6aabef7 (diff)
address gnab/remark#539
Diffstat (limited to 'static')
-rwxr-xr-xstatic/js/remark.js2
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 {