diff options
| author | Chad Kieffer <ckieffer@gmail.com> | 2009-10-16 00:56:37 -0600 |
|---|---|---|
| committer | Chad Kieffer <ckieffer@gmail.com> | 2009-10-16 00:56:37 -0600 |
| commit | eb3e36f1325785807e4e5d01dfdf51f0e3d8faef (patch) | |
| tree | 3180a436090018d7a62a8306ab7414ed17da3f3b | |
| parent | 568017d8ccd230a5075a5b3e02654e129b4929d0 (diff) | |
Apply g-dialog-link class directly to login link markup, not via jQuery.
| -rw-r--r-- | modules/gallery/views/login.html.php | 2 | ||||
| -rw-r--r-- | themes/wind/js/ui.init.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/views/login.html.php b/modules/gallery/views/login.html.php index 049ba043..9be218c0 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 |
