summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-08-19 11:00:38 +0300
committerAlon Levy <alon@pobox.com>2014-08-19 11:00:38 +0300
commit5ba7262ffbb3dd52f07d01aad5295c514b2cdf30 (patch)
treec065fddc3dab5e9ebdde45d08eca4cee7c2e020d /scripts
parent50108451be6d9be66e90ea0009251a01096eb8c0 (diff)
chrome fix to setting user: prevent default action, which was a new http request (GET?), which reloaded the page
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buttons.js1
1 files changed, 1 insertions, 0 deletions
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;
})
});