Skip to content
Permalink
Browse files

Selectmenu: remove unneeded variable usage

  • Loading branch information
fnagel committed Sep 25, 2013
1 parent 12dba99 commit b80681c74ec8e82e17b4827f249476e1923a0a05
Showing with 1 addition and 3 deletions.
  1. +1 −3 ui/jquery.ui.selectmenu.js
@@ -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" );

0 comments on commit b80681c

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