aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.accordion.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-24 08:37:01 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-24 08:37:01 -0400
commita1f604eb453208c80ec17c42c7bb4e3a1c624102 (patch)
treee9b3e6e80b75faee7c7748eb15e46ba138686cef /ui/jquery.ui.accordion.js
parentd0ef9d6fb24c7f553514bf3748ddd294560bf543 (diff)
downloadjquery-ui-a1f604eb453208c80ec17c42c7bb4e3a1c624102.tar.gz
jquery-ui-a1f604eb453208c80ec17c42c7bb4e3a1c624102.zip
Accordion: Coding standards.
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r--ui/jquery.ui.accordion.js7
1 files 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 );