summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/views/login.html.php2
-rw-r--r--themes/wind/js/ui.init.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/views/login.html.php b/modules/gallery/views/login.html.php
index fa6308ae..5256f1ac 100644
--- a/modules/gallery/views/login.html.php
+++ b/modules/gallery/views/login.html.php
@@ -4,7 +4,7 @@
<li class="first">
<a href="<?= url::site("login/ajax") ?>"
title="<?= t("Login to Gallery")->for_html_attr() ?>"
- id="g-login-link"><?= t("Login") ?></a>
+ id="g-login-link" class="g-dialog-link"><?= t("Login") ?></a>
</li>
<? else: ?>
<li class="first">
diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js
index f45ba84a..e9dd1dd9 100644
--- a/themes/wind/js/ui.init.js
+++ b/themes/wind/js/ui.init.js
@@ -20,7 +20,6 @@ $(document).ready(function() {
$("#g-action-status li").gallery_show_message();
// Initialize dialogs
- $("#g-login-link").addClass("g-dialog-link");
$(".g-dialog-link").gallery_dialog();
// Apply jQuery UI icon, hover, and rounded corner styles