aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-10-12 02:02:19 +0200
committerFelix Nagel <info@felixnagel.com>2011-10-12 02:02:19 +0200
commitc0864df4d79ee6bf5401ef4b4c5b6ff44a241ad2 (patch)
tree25d20f1894efa1ffa01f8cbc837119b50a69a61b /ui
parent2e229e8ddcd92a176e8c03ffdefa3a244d64ad46 (diff)
downloadjquery-ui-c0864df4d79ee6bf5401ef4b4c5b6ff44a241ad2.tar.gz
jquery-ui-c0864df4d79ee6bf5401ef4b4c5b6ff44a241ad2.zip
Selectmenu: changed to _delay
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.selectmenu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index d13bc555f..59cd24006 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -155,9 +155,9 @@ $.widget( "ui.selectmenu", {
this._bind( document, {
'mousedown': function( event ) {
if ( this.opened && !$( event.target ).is( this.menu ) ) {
- window.setTimeout( function() {
+ this._delay( function() {
this.close( event );
- }, 200 );
+ }, 200);
}
}
});