Skip to content
Permalink
Browse files

Spinner: Fix the IE6-height-fix to not break the spinner when initial…

…ized while not visible
  • Loading branch information
jzaefferer committed Sep 24, 2011
1 parent 34a0479 commit bf51b0e71c8b81bea937a8b49be4c8186d25b181
Showing with 1 addition and 1 deletion.
  1. +1 −1 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() );
}

0 comments on commit bf51b0e

Please sign in to comment.
You can’t perform that action at this time.