From a1f604eb453208c80ec17c42c7bb4e3a1c624102 Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 24 May 2012 08:37:01 -0400 Subject: Accordion: Coding standards. --- ui/jquery.ui.accordion.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ui') diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index fdb0b5f19..f713d25b8 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -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 ); -- cgit v1.2.3