mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
moved some selectors over to :jqmData()
This commit is contained in:
parent
f78e7b0a6a
commit
2add396bb2
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ function ResizePageContentHeight(page)
|
|||
$content.height(wh - (hh + fh) - (pt + pb));
|
||||
}
|
||||
|
||||
$("[data-"+ $.mobile.ns +"role=page]").live("pageshow", function(event) {
|
||||
$(":jqmData(role='page')").live("pageshow", function(event) {
|
||||
var $page = $(this);
|
||||
|
||||
// For the demos that use this script, we want the content area of each
|
||||
|
|
@ -22,7 +22,7 @@ $("[data-"+ $.mobile.ns +"role=page]").live("pageshow", function(event) {
|
|||
// into the jqm page processing code when scrollview support is "official"
|
||||
// instead of "experimental".
|
||||
|
||||
$page.find("[data-"+ $.mobile.ns +"scroll]:not(.ui-scrollview-clip)").each(function(){
|
||||
$page.find(":jqmData(scroll):not(.ui-scrollview-clip)").each(function(){
|
||||
var $this = $(this);
|
||||
// XXX: Remove this check for ui-scrolllistview once we've
|
||||
// integrated list divider support into the main scrollview class.
|
||||
|
|
|
|||
Loading…
Reference in a new issue