From a1f604eb453208c80ec17c42c7bb4e3a1c624102 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 24 May 2012 08:37:01 -0400 Subject: [PATCH] Accordion: Coding standards. --- ui/jquery.ui.accordion.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 ); -- 2.39.5