Change location.hash to history.pushState
demon committed
Jun 1, 2016 at 01:31 UTC
65c06b8288b629349900d8e1d589bd9cb7cc8454
1 file changed
+1
-1
web/index.html
+1
-1
@@ -2433,7 +2433,7 @@ function finalizePage() {
2433
if (el.find('ul').size() == 0)
2434
{
2435
var href = el.find('a').attr('href');
2436
- document.location.hash = href;
2436
+ history.pushState(null, document.title, href);
2437
};
2438
});
2439