mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu tests: lint fixes
This commit is contained in:
parent
daec559c98
commit
2bb459f1b6
@ -6,8 +6,7 @@ test("accessibility", function () {
|
||||
var links,
|
||||
element = $('#speed').selectmenu(),
|
||||
button = element.selectmenu("widget"),
|
||||
menu = element.selectmenu("menuWidget"),
|
||||
selected = element.find("option:selected");
|
||||
menu = element.selectmenu("menuWidget");
|
||||
|
||||
button.simulate( "focus" );
|
||||
links = menu.find("li.ui-menu-item a");
|
||||
@ -71,8 +70,7 @@ $.each([
|
||||
var links,
|
||||
element = $(settings.selector).selectmenu(),
|
||||
button = element.selectmenu("widget"),
|
||||
menu = element.selectmenu("menuWidget"),
|
||||
selected = element.find("option:selected");
|
||||
menu = element.selectmenu("menuWidget");
|
||||
|
||||
button.simulate( "focus" );
|
||||
links = menu.find("li.ui-menu-item a");
|
||||
|
@ -91,7 +91,6 @@ test("refresh - disabled option", function () {
|
||||
|
||||
var disabledItem,
|
||||
element = $('#speed').selectmenu(),
|
||||
button = element.selectmenu("widget").parent(),
|
||||
menu = element.selectmenu("menuWidget").parent();
|
||||
|
||||
element.attr("disabled", "disabled");
|
||||
@ -108,7 +107,6 @@ test("refresh - disabled optgroup", function () {
|
||||
var i,
|
||||
item,
|
||||
element = $('#files').selectmenu(),
|
||||
button = element.selectmenu("widget").parent(),
|
||||
menu = element.selectmenu("menuWidget").parent(),
|
||||
originalDisabledOptgroup = element.find("optgroup").first(),
|
||||
originalDisabledOptions = originalDisabledOptgroup.find("option");
|
||||
|
Loading…
Reference in New Issue
Block a user