From cc22cc0de3a12b59bbce247e944ab5187e6b376e Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 18 Dec 2008 21:59:20 +0000 Subject: Dialog: Partial fix for #3648: Setting proper class on hover of close button. --- ui/ui.dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/ui.dialog.js') diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 37e55927c..298242c0d 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -73,10 +73,10 @@ $.widget("ui.dialog", { .attr('role', 'button') .hover( function() { - $(this).addClass('ui-dialog-titlebar-close-hover'); + $(this).addClass('ui-state-hover'); }, function() { - $(this).removeClass('ui-dialog-titlebar-close-hover'); + $(this).removeClass('ui-state-hover'); } ) .mousedown(function(ev) { -- cgit v1.2.3