From: Scott González Date: Thu, 24 May 2012 12:37:01 +0000 (-0400) Subject: Accordion: Coding standards. X-Git-Tag: 1.9.0-beta.1~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a1f604eb453208c80ec17c42c7bb4e3a1c624102;p=jquery-ui.git Accordion: Coding standards. --- 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 );