mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Merge pull request #1587 from ivrubanov/master
Fixed tests for checkboxes to pass under windows mobile 7. Thanks ivrubanov!
This commit is contained in:
commit
03ef69d131
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
asyncTest( "change events fired on checkbox for both check and uncheck", function(){
|
||||
var $checkbox = $("#checkbox-2"),
|
||||
$checkboxLabel = $("[for=checkbox-2]");
|
||||
$checkboxLabel = $checkbox.parent().find(".ui-btn");
|
||||
|
||||
$checkbox.unbind("change");
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
var $radioBtns = $('#radio-active-btn-test input'),
|
||||
singleActiveAndChecked = function(){
|
||||
same($("#radio-active-btn-test .ui-btn-active").length, 1, "there should be only one active button");
|
||||
same($("#radio-active-btn-test [checked]").length, 1, "there should be only one checked");
|
||||
same($("#radio-active-btn-test :checked").length, 1, "there should be only one checked");
|
||||
};
|
||||
|
||||
$.testHelper.sequence([
|
||||
|
|
|
|||
Loading…
Reference in a new issue