Commit 3182efb1fe735359c289555a387f96a4a077a237:
upgrade to replaceState
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
www/status/js/.status.js.swp |
www/status/js/status.js | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/status/js/.status.js.swp b/www/status/js/.status.js.swp
deleted file mode 100644
index 01840d0..0000000
Binary files a/www/status/js/.status.js.swp and /dev/null differ
diff --git a/www/status/js/status.js b/www/status/js/status.js
index 1fc418a..2ad0d53 100644
--- a/www/status/js/status.js
+++ b/www/status/js/status.js
@@ -61,7 +61,7 @@ $(function() {
// update location hash in the url
if (glyphicon.hasClass('glyphicon-chevron-right')) {
- location.hash = $(this).attr('href');
+ history.replaceState(null, null, $(this).attr('href'));
}
// toggle the content