From 9ce46c1df60de90e1386acf313b05213795897eb Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 16 Oct 2009 00:56:37 -0600 Subject: Apply g-dialog-link class directly to login link markup, not via jQuery. --- modules/gallery/views/login.html.php | 2 +- themes/wind/js/ui.init.js | 1 - 2 files changed, 1 insertion(+), 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 @@
  • " title="for_html_attr() ?>" - id="g-login-link"> + id="g-login-link" class="g-dialog-link">
  • 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 -- cgit v1.2.3