Selectmenu: remove unneeded variable usage

This commit is contained in:
Felix Nagel 2013-09-25 22:30:13 +02:00
parent 12dba998f1
commit b80681c74e

View File

@ -120,10 +120,8 @@ $.widget( "ui.selectmenu", {
this.menuInstance = this.menu.menu({
role: "listbox",
select: function( event, ui ) {
var item = ui.item.data( "ui-selectmenu-item" );
event.preventDefault();
that._select( item, event );
that._select( ui.item.data( "ui-selectmenu-item" ), event );
},
focus: function( event, ui ) {
var item = ui.item.data( "ui-selectmenu-item" );