diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-02-13 02:10:38 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-02-13 02:10:38 +0000 |
commit | 985a324ec7f3c8aaf277850aee68be2e00607686 (patch) | |
tree | 1136dbf1a8cd3731fac391ddcbbf59af7d7b1f4e /themes/default/js/ui.init.js | |
parent | ac06fcd26ca98a6025323d0cf79f5c25769c5a92 (diff) |
Fixed short form button style.
Diffstat (limited to 'themes/default/js/ui.init.js')
-rw-r--r-- | themes/default/js/ui.init.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js index bdfd7214..44106afb 100644 --- a/themes/default/js/ui.init.js +++ b/themes/default/js/ui.init.js @@ -24,9 +24,6 @@ $(document).ready(function() { speed: 'fast' }); - // Apply jQuery UI button css to submit inputs - $("input[type=submit]").addClass("ui-state-default ui-corner-all"); - // Round view menu buttons if ($("#gViewMenu").length) { $("#gViewMenu ul").removeClass("gMenu").removeClass("sf-menu"); @@ -39,9 +36,12 @@ $(document).ready(function() { handleShortFormEvent(shortForms); if ($(".gShortForm").length) { $(".gShortForm input[type=text]").addClass("ui-corner-left"); - $(".gShortForm input[type=submit]").addClass("ui-corner-right"); + $(".gShortForm input[type=submit]").addClass("ui-state-default ui-corner-right"); } + // Apply jQuery UI button css to submit inputs + $("input[type=submit]:not(.gShortForm input)").addClass("ui-state-default ui-corner-all"); + // Album view only if ($("#gAlbumGrid").length) { // Vertical align thumbnails/metadata in album grid |