Skip to content
Permalink
Browse files

Slider: Use base destroy method.

  • Loading branch information
scottgonzalez committed May 9, 2012
1 parent d89b8f0 commit 282554e900f09bba1da197a7d029b9a1a0f4899f
Showing with 2 additions and 6 deletions.
  1. +2 −6 ui/jquery.ui.slider.js
@@ -194,7 +194,7 @@ $.widget( "ui.slider", $.ui.mouse, {
this._animateOff = false;
},

destroy: function() {
_destroy: function() {
this.handles.remove();
this.range.remove();

@@ -205,13 +205,9 @@ $.widget( "ui.slider", $.ui.mouse, {
" ui-slider-disabled" +
" ui-widget" +
" ui-widget-content" +
" ui-corner-all" )
.removeData( "slider" )
.unbind( ".slider" );
" ui-corner-all" );

this._mouseDestroy();

return this;
},

_mouseCapture: function( event ) {

0 comments on commit 282554e

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