Update experiments/scrollview/scrollview.js

This commit is contained in:
Eddie Monge Jr. 2011-11-04 14:49:35 -07:00
parent 0311c91f38
commit e56a382c3f

View file

@ -28,7 +28,7 @@ $(":jqmData(role='page')").live("pageshow", function(event) {
if ( $this.hasClass( "ui-scrolllistview" ) ) {
$this.scrolllistview();
} else {
var st = $this.jqmData("scroll") + "";
var st = $this.jqmData("scroll") + "",
paging = st && st.search(/^[xy]p$/) != -1;
dir = st && st.search(/^[xy]/) != -1 ? st.charAt(0) : null,