aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-01-26 22:02:15 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-01-26 22:02:15 -0500
commita6c358d04693c5746e1557a2660dfccb169ad831 (patch)
tree57a076e4470ea9001fce9dcae2060da8e89a7239 /src
parentb594673a4294a75c10db279239edfa60b6bb804e (diff)
downloadjquery-a6c358d04693c5746e1557a2660dfccb169ad831.tar.gz
jquery-a6c358d04693c5746e1557a2660dfccb169ad831.zip
Fix #12846. Restore overflow when animation is stopped.
Diffstat (limited to 'src')
-rw-r--r--src/effects.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects.js b/src/effects.js
index e1c11dca5..764895200 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -295,7 +295,7 @@ function defaultPrefilter( elem, props, opts ) {
if ( opts.overflow ) {
style.overflow = "hidden";
- anim.done(function() {
+ anim.always(function() {
style.overflow = opts.overflow[ 0 ];
style.overflowX = opts.overflow[ 1 ];
style.overflowY = opts.overflow[ 2 ];