From 08ae48aeaa5e6c4c1da161590d6dcd9daa9ecabe Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Mon, 9 Feb 2009 02:10:19 +0000 Subject: Add hover state for buttons. --- themes/admin_default/js/ui.init.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'themes/admin_default/js/ui.init.js') 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){ -- cgit v1.2.3