We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7318a3d commit b449d81Copy full SHA for b449d81
index.html
@@ -663,13 +663,15 @@ <h3 id="slider_examples">Slider Modifications</h3>
663
max: max,
664
step: step,
665
change: function(e,ui){ // key events
666
- tp_inst._onTimeChange();
+ // don't call if api was used and not key press
667
+ if(e.originalEvent !== undefined)
668
+ tp_inst._onTimeChange();
669
tp_inst._onSelectHandler();
670
},
671
spin: function(e,ui){ // spin events
672
tp_inst.control.value(tp_inst, obj, unit, ui.value);
673
tp_inst._onTimeChange();
- tp_inst._onSelectHandler();
674
+ //tp_inst._onSelectHandler();
675
}
676
});
677
return obj;
0 commit comments