diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-02-09 02:10:19 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-02-09 02:10:19 +0000 |
commit | 08ae48aeaa5e6c4c1da161590d6dcd9daa9ecabe (patch) | |
tree | a7268430df9f580188a8955a0414ac25b0c42b81 /themes/default/js/ui.init.js | |
parent | 622bada1122010c2b358e646521c8d273d542e20 (diff) |
Add hover state for buttons.
Diffstat (limited to 'themes/default/js/ui.init.js')
-rw-r--r-- | themes/default/js/ui.init.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js index 49b72626..69768473 100644 --- a/themes/default/js/ui.init.js +++ b/themes/default/js/ui.init.js @@ -68,6 +68,16 @@ $(document).ready(function() { for (var i=0; i < dialogLinks.length; i++) { $(dialogLinks[i]).bind("click", handleDialogEvent); } + + // Add hover state for buttons + $(".ui-state-default").hover( + function(){ + $(this).addClass("ui-state-hover"); + }, + function(){ + $(this).removeClass("ui-state-hover"); + } + ); }); |