Apply g-dialog-link class directly to login link markup, not via jQuery.

This commit is contained in:
Chad Kieffer
2009-10-16 00:56:37 -06:00
parent 568017d8cc
commit eb3e36f132
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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">
-1
View File
@@ -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