summaryrefslogtreecommitdiff
path: root/modules/user/js
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2008-11-28 04:22:52 +0000
committerChad Kieffer <chad@2tbsp.com>2008-11-28 04:22:52 +0000
commit143337dbf08a3f5252004994a4bb6ab0d50f100d (patch)
tree19e8b19cb54349e368508f007948e8a6d073f6b2 /modules/user/js
parent1239e38e4584eef1bf7c665fd629f97b8135e455 (diff)
Use return false instead of preventDefault() to prevent link action, thx Tim
Diffstat (limited to 'modules/user/js')
-rw-r--r--modules/user/js/user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/js/user.js b/modules/user/js/user.js
index 8ee543bf..c547e511 100644
--- a/modules/user/js/user.js
+++ b/modules/user/js/user.js
@@ -5,7 +5,6 @@
$("document").ready(function() {
$("#gLoginLink").click(function(event){
- event.preventDefault();
var url = $("#gLoginLink a").attr("href");
$.get(url, function(data) {
$('#gLoginLink').hide();
@@ -21,6 +20,7 @@ $("document").ready(function() {
$("#gLoginFormContainer").html(data).hide().fadeIn();
ajaxify_login_form();
});
+ return false;
});
});