Commit 3eac2caf authored by Michal Čihař's avatar Michal Čihař

Do not try to process hash with = in it

Fixes rb#351
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 16c05c50
...@@ -2,7 +2,7 @@ var loading = 0; ...@@ -2,7 +2,7 @@ var loading = 0;
var machineTranslationLoaded = false; var machineTranslationLoaded = false;
var activityDataLoaded = false; var activityDataLoaded = false;
if (window.location.hash && window.location.hash === '#_=_') { if (window.location.hash && (window.location.hash === '#_=_' || window.location.hash.indexOf("=") > -1)) {
window.location.hash = ''; window.location.hash = '';
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment