From cba09dafa7b2df56730851aeaf8e79ae50355e40 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 3 Dec 2012 23:05:09 +0100 Subject: [PATCH] Selectmenu: guard clause should not return false --- ui/jquery.ui.selectmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 300b5789c..a0391268e 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -233,7 +233,7 @@ $.widget( "ui.selectmenu", { close: function( event ) { if ( !this.isOpen ) { - return false; + return; } var id = this._getSelectedItem().find( "a" ).attr( "id" );