diff options
-rw-r--r-- | ui/jquery.ui.spinner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index 4b7239850..09df97be7 100644 --- a/ui/jquery.ui.spinner.js +++ b/ui/jquery.ui.spinner.js @@ -150,7 +150,7 @@ $.widget( "ui.spinner", { // IE 6 doesn't understand height: 50% for the buttons // unless the wrapper has an explicit height - if ( this.buttons.height() === uiSpinner.height() ) { + if ( this.buttons.height() === uiSpinner.height() && uiSpinner.height() > 0 ) { uiSpinner.height( uiSpinner.height() ); } |