You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A have a spinnerred textbox:
$('#txtbox').spinner({'min' : 5});
When I mousedown the 'down' arrow for a second I have the value of the textbox set to 0, which is wrong. It seems to me that I fixed this by changing '_spin' function like that:
_spin: function(dir,large){// shortcutsvarself=this,increment=self.options.increment,curIncrement=increment[self.incCounter];self._change();// <<<<<<<<THIS WAS ADDED BY MEself._doSpin(dir*curIncrement.mult*(large ? self.options.largeStep : self.options.step));self.counter++;if((self.counter>curIncrement.count)&&(self.incCounter<increment.length-1)){self.counter=0;curIncrement=increment[++self.incCounter];self._setTimer(curIncrement.delay,dir,large);}},
The text was updated successfully, but these errors were encountered:
A have a spinnerred textbox:
$('#txtbox').spinner({'min' : 5});
When I mousedown the 'down' arrow for a second I have the value of the textbox set to 0, which is wrong. It seems to me that I fixed this by changing '_spin' function like that:
The text was updated successfully, but these errors were encountered: