Dialog: Partial fix for #3648: Setting proper class on hover of close button.

This commit is contained in:
Scott González 2008-12-18 21:59:20 +00:00
parent 3d889451f2
commit cc22cc0de3

View File

@ -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) {