mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
added a test to make sure the select element is inside the div-based button when native option is true
This commit is contained in:
parent
12b4506a0b
commit
c3b6e86e61
1 changed files with 4 additions and 0 deletions
|
|
@ -53,4 +53,8 @@
|
|||
test( "selects marked with data-native-menu=true should not have a custom menu", function(){
|
||||
same($("#select-choice-native-container ul").length, 0);
|
||||
});
|
||||
|
||||
test( "selects marked with data-native-menu=true should sit inside the button", function(){
|
||||
same($("#select-choice-native-container div.ui-btn select").length, 1);
|
||||
});
|
||||
})(jQuery);
|
||||
Loading…
Reference in a new issue