mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: Fix whitespace (trailing ws on 1 line) and lint issues (unused variables)
This commit is contained in:
parent
d599bf9ffd
commit
d94e217065
@ -91,7 +91,6 @@ $.each([
|
||||
element = $( settings.selector ).selectmenu(),
|
||||
button = element.selectmenu( "widget" ),
|
||||
menu = element.selectmenu( "menuWidget" ),
|
||||
selected = element.find( "option:selected" ),
|
||||
options = element.find( "option" );
|
||||
|
||||
// init menu
|
||||
|
@ -72,7 +72,6 @@ test( "refresh - change selected option", function () {
|
||||
expect( 3 );
|
||||
|
||||
var element = $( "#speed" ).selectmenu(),
|
||||
menu = element.selectmenu( "menuWidget" ).parent(),
|
||||
button = element.selectmenu( "widget" );
|
||||
|
||||
equal( element.find( "option:selected" ).text(), button.text(), "button text after init" );
|
||||
|
Loading…
Reference in New Issue
Block a user