Fixed #4318 - Slider: method destroy does not remove ui-slider-range

This commit is contained in:
Richard Worth 2009-03-18 08:58:53 +00:00
parent 67f1d4b6af
commit b025e67259

View File

@ -161,6 +161,7 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, {
destroy: function() { destroy: function() {
this.handles.remove(); this.handles.remove();
this.range.remove();
this.element this.element
.removeClass("ui-slider" .removeClass("ui-slider"