mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-29 02:14:44 +00:00
used :hidden selector instead
This commit is contained in:
parent
0780e40a69
commit
fd5b3210e4
1 changed files with 3 additions and 3 deletions
|
|
@ -297,9 +297,9 @@
|
|||
}, 500);
|
||||
|
||||
setTimeout(function() {
|
||||
same($page.find('li:jqmData(role=list-divider)[style^="display: none;"]').length, 2);
|
||||
same($page.find('li:jqmData(role=list-divider)[style^="display: none;"] + li:not(:jqmData(role=list-divider))[style^="display: none;"]').length, 2);
|
||||
same($page.find('li:jqmData(role=list-divider):not([style^="display: none;"]) + li:not(:jqmData(role=list-divider)):not([style^="display: none;"])').length, 2);
|
||||
same($page.find('li:jqmData(role=list-divider):hidden').length, 2);
|
||||
same($page.find('li:jqmData(role=list-divider):hidden + li:not(:jqmData(role=list-divider)):hidden').length, 2);
|
||||
same($page.find('li:jqmData(role=list-divider):not(:hidden) + li:not(:jqmData(role=list-divider)):not([:hidden)').length, 2);
|
||||
start();
|
||||
}, 1000);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue