aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-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 );