mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-20 12:21:52 +00:00
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:
parent
1c198d1193
commit
84f5325ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue