sad but true ... history.pushState is too buggy to be useful at this point

This commit is contained in:
Bartek Szopka
2012-03-07 22:38:37 +01:00
parent 45fcf19c4d
commit 8a0b80d5ac

View File

@@ -258,7 +258,7 @@
// BUG: http://code.google.com/p/chromium/issues/detail?id=62820 // BUG: http://code.google.com/p/chromium/issues/detail?id=62820
window.clearTimeout( hashTimeout ); window.clearTimeout( hashTimeout );
hashTimeout = window.setTimeout(function () { hashTimeout = window.setTimeout(function () {
history.pushState({}, '', '#' + el.id); window.location.hash = "#/" + el.id;
}, 1000); }, 1000);
var target = { var target = {