summaryrefslogtreecommitdiff
path: root/themes/default/js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/js')
-rw-r--r--themes/default/js/user.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/themes/default/js/user.js b/themes/default/js/user.js
index 33aeaa60..06d43d15 100644
--- a/themes/default/js/user.js
+++ b/themes/default/js/user.js
@@ -1,6 +1,6 @@
function show_login(url) {
$("#gLoginLink").hide();
- $("#gLoginClose").show();
+ $(".gClose").show();
$.get(url, function(data) {
$("#gLoginFormContainer").html(data);
ajaxify_login_form();
@@ -8,7 +8,6 @@ function show_login(url) {
}
function ajaxify_login_form() {
- $("#gLoginMenu form ul").addClass("gInline");
$("form#gLoginForm").ajaxForm({
target: "#gLoginFormContainer",
success: function(responseText, statusText) {
@@ -23,7 +22,7 @@ function ajaxify_login_form() {
function close_login() {
$("#gLoginForm").remove();
- $("#gLoginClose").hide();
+ $(".gClose").hide();
$("#gLoginLink").show();
$("input#gUsername").val("");
$("input#gPassword").val("");