Skip to content
Permalink
Browse files

slider:internal methods, fixes #3188

  • Loading branch information
chicheng committed Aug 18, 2008
1 parent d5bbbd2 commit 4d2fb8296074a6273e303777681f5a2bd03c0350
Showing with 7 additions and 7 deletions.
  1. +7 −7 ui/ui.slider.js
@@ -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); }
});


0 comments on commit 4d2fb82

Please sign in to comment.
You can’t perform that action at this time.