]> source.dussan.org Git - jquery-ui.git/commitdiff
Effects: Force a non-empty hash of properties for class animations to ensure the...
authorScott González <scott.gonzalez@gmail.com>
Fri, 6 Nov 2009 01:12:09 +0000 (01:12 +0000)
committerScott González <scott.gonzalez@gmail.com>
Fri, 6 Nov 2009 01:12:09 +0000 (01:12 +0000)
ui/jquery.effects.core.js

index 700190e6711f8963238f75c8c8f2d03da1461aac..11aacfcabb5420d0d9eabd0b43f305038068026e 100644 (file)
@@ -197,7 +197,7 @@ function filterStyles(styles) {
 }
 
 function styleDifference(oldStyle, newStyle) {
-       var diff = {},
+       var diff = { _: 0 }, // http://dev.jquery.com/ticket/5459
                name;
 
        for (name in newStyle) {