File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,12 @@ $.widget( "ui.spinner", {
148
148
. button ( )
149
149
. removeClass ( "ui-corner-all" ) ;
150
150
151
+ // IE 6 doesn't understand height: 50% for the buttons
152
+ // unless the wrapper has an explicit height
153
+ if ( this . buttons . height ( ) === uiSpinner . height ( ) ) {
154
+ uiSpinner . height ( uiSpinner . height ( ) ) ;
155
+ }
156
+
151
157
// disable spinner if element was already disabled
152
158
if ( this . options . disabled ) {
153
159
this . disable ( ) ;
@@ -240,7 +246,7 @@ $.widget( "ui.spinner", {
240
246
return 1 ;
241
247
} ,
242
248
243
- _precision : function ( num ) {
249
+ _precision : function ( ) {
244
250
var precision = this . _precisionOf ( this . options . step ) ;
245
251
if ( this . options . min !== null ) {
246
252
precision = Math . max ( precision , this . _precisionOf ( this . options . min ) ) ;
You can’t perform that action at this time.
0 commit comments