]> source.dussan.org Git - jquery-ui.git/commitdiff
Fixed #4318 - Slider: method destroy does not remove ui-slider-range
authorRichard Worth <rdworth@gmail.com>
Wed, 18 Mar 2009 08:58:53 +0000 (08:58 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 18 Mar 2009 08:58:53 +0000 (08:58 +0000)
ui/ui.slider.js

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