summaryrefslogtreecommitdiff
path: root/themes/admin_default/js/ui.init.js
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-02-09 02:10:19 +0000
committerChad Kieffer <chad@2tbsp.com>2009-02-09 02:10:19 +0000
commit08ae48aeaa5e6c4c1da161590d6dcd9daa9ecabe (patch)
treea7268430df9f580188a8955a0414ac25b0c42b81 /themes/admin_default/js/ui.init.js
parent622bada1122010c2b358e646521c8d273d542e20 (diff)
Add hover state for buttons.
Diffstat (limited to 'themes/admin_default/js/ui.init.js')
-rw-r--r--themes/admin_default/js/ui.init.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js
index efc2af04..a68a5238 100644
--- a/themes/admin_default/js/ui.init.js
+++ b/themes/admin_default/js/ui.init.js
@@ -36,6 +36,17 @@ $(document).ready(function(){
// In-place editing for tag admin
$(".gEditable").bind("click", editInplace);
+
+ // Add hover state for buttons
+ $(".ui-state-default").hover(
+ function(){
+ $(this).addClass("ui-state-hover");
+ },
+ function(){
+ $(this).removeClass("ui-state-hover");
+ }
+ );
+
});
function editInplace(element){