Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for Issue #1160 #1161

Open
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 6, 2012
  1. @AriaMinaei

    Fix for Issue #1160

    AriaMinaei authored
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 2 deletions.
  1. +10 −2 Source/Fx/Fx.Scroll.js
View
12 Source/Fx/Fx.Scroll.js
@@ -135,7 +135,11 @@ Fx.Scroll = new Class({
if (offset && offset[axis]) to[axis] = to[axis] + offset[axis];
}, this);
- if (to.x != scroll.x || to.y != scroll.y) this.start(to.x, to.y);
+ if (to.x != scroll.x || to.y != scroll.y) {
+ this.start(to.x, to.y);
+ } else {
+ this.chain();
+ }
return this;
},
@@ -156,7 +160,11 @@ Fx.Scroll = new Class({
if (offset && offset[axis]) to[axis] = to[axis] + offset[axis];
}, this);
- if (to.x != scroll.x || to.y != scroll.y) this.start(to.x, to.y);
+ if (to.x != scroll.x || to.y != scroll.y) {
+ this.start(to.x, to.y);
+ } else {
+ this.chain();
+ }
return this;
}
Something went wrong with that request. Please try again.