mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
slider:internal methods, fixes #3188
This commit is contained in:
parent
d5bbbd2a07
commit
4d2fb82960
@ -46,7 +46,7 @@ $.widget("ui.slider", {
|
||||
this.handle
|
||||
.unwrap("a");
|
||||
this.handle.each(function() {
|
||||
$(this).data("mouse").mouseDestroy();
|
||||
$(this).data("mouse")._mouseDestroy();
|
||||
});
|
||||
}
|
||||
|
||||
@ -93,15 +93,15 @@ $.widget("ui.slider", {
|
||||
self._focus(this, true);
|
||||
});
|
||||
|
||||
this.mouseInit();
|
||||
this._mouseInit();
|
||||
};
|
||||
|
||||
$.extend(handleclass.prototype, $.ui.mouse, {
|
||||
mouseStart: function(e) { return self.start.call(self, e, this.element[0]); },
|
||||
mouseStop: function(e) { return self.stop.call(self, e, this.element[0]); },
|
||||
mouseDrag: function(e) { return self.drag.call(self, e, this.element[0]); },
|
||||
mouseCapture: function() { return true; },
|
||||
trigger: function(e) { this.mouseDown(e); }
|
||||
_mouseStart: function(e) { return self.start.call(self, e, this.element[0]); },
|
||||
_mouseStop: function(e) { return self.stop.call(self, e, this.element[0]); },
|
||||
_mouseDrag: function(e) { return self.drag.call(self, e, this.element[0]); },
|
||||
_mouseCapture: function() { return true; },
|
||||
trigger: function(e) { this._mouseDown(e); }
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user