whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 3182efb: upgrade to replaceState
Date Sun, 17 Jan 2016 20:28:14 GMT
Commit 3182efb1fe735359c289555a387f96a4a077a237:
    upgrade to replaceState


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
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

Mime
View raw message