Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed return value in Fx.Scroll.set, now return himself

  • Loading branch information...
commit 992345a159b357cf06635f3060ba3179e1bb7074 1 parent fcc9477
Kilian Ciuffolo authored arian committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  Source/Fx/Fx.Scroll.js
1  Source/Fx/Fx.Scroll.js
@@ -56,6 +56,7 @@ Fx.Scroll = new Class({
var now = Array.flatten(arguments);
if (Browser.firefox) now = [Math.round(now[0]), Math.round(now[1])]; // not needed anymore in newer firefox versions
this.element.scrollTo(now[0], now[1]);
+ return this;
compute: function(from, to, delta){
Please sign in to comment.
Something went wrong with that request. Please try again.