From f95bb86d861008bae269efe614a5beb99c377008 Mon Sep 17 00:00:00 2001 From: Raymond May Jr Date: Thu, 9 Aug 2012 15:45:52 +0200 Subject: [PATCH] add scrollTop and scrollLeft to animate pass through as they do not work in $++ animate when passed with a timing value --- dom/animate/animate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/animate/animate.js b/dom/animate/animate.js index dd1b2602..361918a4 100644 --- a/dom/animate/animate.js +++ b/dom/animate/animate.js @@ -57,7 +57,7 @@ steal('jquery', 'jquery/dom/styles').then(function ($) { // Negative values not handled the same || props[name] < 0 // unit-less value - || name == 'zIndex' || name == 'z-index' + || name == 'zIndex' || name == 'z-index' || name == 'scrollTop' || name == 'scrollLeft' ) { return true; }