diff options
author | XhmikosR <xhmikosr@gmail.com> | 2014-03-14 14:45:34 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2015-02-02 23:23:23 +0300 |
commit | 791f9b10f5485bb51843857c5ccec1706a53185e (patch) | |
tree | ee885ad68d9ea8fceab2f61dfb78d1eb953d7206 | |
parent | b46e15e7e2fef644c0274d78201350ff9671a7af (diff) |
Fix one more error with Firefox.
-rw-r--r-- | js/push.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -60,7 +60,9 @@ delete cacheMapping[cacheBackStack.shift()]; } - window.history.pushState(null, '', getCached(PUSH.id).url); + if (getCached(PUSH.id).url) { + window.history.pushState(null, '', getCached(PUSH.id).url); + } cacheMapping.cacheForwardStack = JSON.stringify(cacheForwardStack); cacheMapping.cacheBackStack = JSON.stringify(cacheBackStack); |