aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorShahyar G <shahyar@gmail.com>2012-04-23 14:25:23 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-23 20:49:57 -0400
commitf3b022ddb8815974f52aeeddb79d209645041653 (patch)
tree372f5c6fd8bbd284d432c6b5bec22c0aca7894c0 /ui/jquery.ui.accordion.js
parent9df981d268b4029065247cf230a4e988946b7799 (diff)
downloadjquery-ui-f3b022ddb8815974f52aeeddb79d209645041653.tar.gz
jquery-ui-f3b022ddb8815974f52aeeddb79d209645041653.zip
Use length property, instead of the deprecated size() method.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js
index 81f74f0b9..8d062ad51 100644
--- a/ui/jquery.ui.accordion.js
+++ b/ui/jquery.ui.accordion.js
@@ -497,10 +497,10 @@ $.widget( "ui.accordion", {
easing = easing || options.easing || animate.easing;
duration = duration || options.duration || animate.duration;
- if ( !toHide.size() ) {
+ if ( !toHide.length ) {
return toShow.animate( showProps, duration, easing, complete );
}
- if ( !toShow.size() ) {
+ if ( !toShow.length ) {
return toHide.animate( hideProps, duration, easing, complete );
}