mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Partial fix for #3648: Setting proper class on hover of close button.
This commit is contained in:
parent
3d889451f2
commit
cc22cc0de3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user