Slider event.target check before vmousemoved
N_SE-37574
Change-Id: I78d71e87def224d8f4af6b998931dfe215d9be03
// NOTE: we don't do this in refresh because we still want to
// support programmatic alteration of disabled inputs
- if ( self.dragging && !self.options.disabled ) {
-+ if ( self.dragging && !self.options.disabled && (!slider.is(".ui-toggle-switch") || (slider.is(".ui-toggle-switch") && slider.find(".ui-slider-handle").is(".ui-btn-hover-s"))) ) {
++ if ( self.dragging && !self.options.disabled && (!$(self.element).siblings(".ui-slider").is(".ui-toggle-switch") || (( $(event.target).find(".ui-slider-switch") === $(self.element) ) && slider.is(".ui-toggle-switch") && $(self.element).siblings(".ui-slider").find(".ui-slider-handle").is(".ui-btn-hover-s"))) ) {
+ // divide jQM and Tizen slider on dragging outside of toggle area
// self.mouseMoved must be updated before refresh() because it will be used in the control "change" event