From b025e6725981c2dbfe7f34a4d4fb07451836aee2 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Wed, 18 Mar 2009 08:58:53 +0000 Subject: [PATCH] Fixed #4318 - Slider: method destroy does not remove ui-slider-range --- ui/ui.slider.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/ui.slider.js b/ui/ui.slider.js index 24d38cc19..43cfd3b27 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -161,6 +161,7 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, { destroy: function() { this.handles.remove(); + this.range.remove(); this.element .removeClass("ui-slider"