From 5ba7262ffbb3dd52f07d01aad5295c514b2cdf30 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 19 Aug 2014 11:00:38 +0300 Subject: chrome fix to setting user: prevent default action, which was a new http request (GET?), which reloaded the page --- scripts/buttons.js | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/buttons.js b/scripts/buttons.js index 824505d3..346e576b 100644 --- a/scripts/buttons.js +++ b/scripts/buttons.js @@ -47,6 +47,7 @@ $('.set-user').click(function() { $('.set-user').show(); $('.set-user-form').hide(); $('.save-history').show(); + return false; }) }); -- cgit v1.3.1