From 205904e2e3597d44076417fb78cb2d4476a9a4ef Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 12 Jul 2013 12:37:45 -0400 Subject: [PATCH] Don't affect location hash when changing setting tabs --- app/views/users/edit.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 6728f4d40..7c0aba2fb 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -80,6 +80,7 @@ $("#basic-settings-section,#change-password-section,#advanced-settings-section").hide(); $target.addClass("active") $($target.attr("href") + "-section").show(); + e.preventDefault(); }); });