Skip to content
Permalink
Browse files

Dialog: Move to top on mousedown instead of mouseup.

  • Loading branch information
scottgonzalez committed Dec 23, 2008
1 parent 5e93673 commit 9dc9f222011faec43e0e7e0bb5589dccd527f5e8
Showing with 1 addition and 4 deletions.
  1. +1 −4 ui/ui.dialog.js
@@ -64,7 +64,7 @@ $.widget("ui.dialog", {
role: 'dialog',
'aria-labelledby': titleId
})
.mouseup(function() {
.mousedown(function() {
self.moveToTop();
}),

@@ -82,9 +82,6 @@ $.widget("ui.dialog", {
'ui-corner-all ' +
'ui-helper-clearfix'
)
.mousedown(function() {
self.moveToTop();
})
.prependTo(uiDialog),

uiDialogTitlebarClose = $('<a href="#"/>')

0 comments on commit 9dc9f22

Please sign in to comment.
You can’t perform that action at this time.