From 8a0b80d5ac65631d7e5b27b1714d12d1b7dd73ce Mon Sep 17 00:00:00 2001 From: Bartek Szopka Date: Wed, 7 Mar 2012 22:38:37 +0100 Subject: [PATCH] sad but true ... `history.pushState` is too buggy to be useful at this point --- js/impress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/impress.js b/js/impress.js index 7395cd9..d9bbec2 100644 --- a/js/impress.js +++ b/js/impress.js @@ -258,7 +258,7 @@ // BUG: http://code.google.com/p/chromium/issues/detail?id=62820 window.clearTimeout( hashTimeout ); hashTimeout = window.setTimeout(function () { - history.pushState({}, '', '#' + el.id); + window.location.hash = "#/" + el.id; }, 1000); var target = {