Fixed a bug that was causing a vertical scrollview to jump to (0,0) when the directionLock calculated was horizontal.

This commit is contained in:
Kin Blas 2010-11-24 11:54:17 -08:00
parent 1c198d1193
commit 84f5325ad2

View file

@ -322,7 +322,7 @@ jQuery.widget( "mobile.scrollview", jQuery.mobile.widget, {
}
}
this._directionLock = dir ? dir : "none";
this._directionLock = svdir ? svdir : (dir ? dir : "none");
}
var newX = 0;