]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Coding standards.
authorScott González <scott.gonzalez@gmail.com>
Thu, 24 May 2012 12:37:01 +0000 (08:37 -0400)
committerScott González <scott.gonzalez@gmail.com>
Thu, 24 May 2012 12:37:01 +0000 (08:37 -0400)
ui/jquery.ui.accordion.js

index fdb0b5f1997b49f9c39cf94ccb52dac08831c94b..f713d25b8f74b9d733df8d2b84b29e5dab87cc23 100644 (file)
@@ -293,10 +293,9 @@ $.widget( "ui.accordion", {
        },
 
        refresh: function() {
-               var heightStyle = this.options.heightStyle,
-                       parent = this.element.parent(),
-                       maxHeight,
-                       overflow;
+               var maxHeight, overflow,
+                       heightStyle = this.options.heightStyle,
+                       parent = this.element.parent();
 
                this.element.css( "height", this.originalHeight );