js/history: fix history on initial page

There is a workaround for a nasty Chrome missbehaviour, however I have
no longer been able to reproduce it. Temporarily disabled the workaround,
could you please try whether behaviour is better / correct like this?

Please also check for requests firing twice on initial page load.

refs #6277
This commit is contained in:
Thomas Gelf 2014-06-05 03:40:43 +00:00
parent 99aae5a0d9
commit 11b4661b46
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@
// Chrome workaround:
onload = !self.pushedSomething && location.href === self.initialUrl;
self.pushedSomething = true;
if (onload) { return; }
// if (onload) { return; } // Temporarily disabled
// End of Chrome workaround
// We might find browsers showing strange behaviour, this log could help