mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
corrected failing checkboxradio test
This commit is contained in:
parent
9b73a750d4
commit
2efeafde40
1 changed files with 2 additions and 1 deletions
|
|
@ -115,10 +115,11 @@
|
|||
ok( $("#enhancetest").trigger("create").find(".ui-checkbox").length, "enhancements applied" );
|
||||
});
|
||||
|
||||
$.mobile.page.prototype.options.keepNative = "select.should-be-native";
|
||||
$.mobile.page.prototype.options.keepNative = "input.should-be-native";
|
||||
|
||||
// not testing the positive case here since's it's obviously tested elsewhere
|
||||
test( "checkboxradio elements in the keepNative set shouldn't be enhanced", function() {
|
||||
console.log( );
|
||||
ok( !$("input.should-be-native").parent().is("div.ui-checkbox") );
|
||||
});
|
||||
})(jQuery);
|
||||
|
|
|
|||
Loading…
Reference in a new issue