Permalink
Browse files

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

  • Loading branch information...
1 parent fcc9477 commit 992345a159b357cf06635f3060ba3179e1bb7074 Kilian Ciuffolo committed with arian Apr 11, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Fx/Fx.Scroll.js
View
@@ -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){

0 comments on commit 992345a

Please sign in to comment.