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

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


Author: rdworth
Date: Wed Mar 18 01:58:53 2009
New Revision: 2305
Modified:
trunk/ui/ui.slider.js
Log:
Fixed #4318 - Slider: method destroy does not remove ui-slider-range
Modified: trunk/ui/ui.slider.js
==============================================================================
--- trunk/ui/ui.slider.js    (original)
+++ trunk/ui/ui.slider.js    Wed Mar 18 01:58:53 2009
@@ -161,6 +161,7 @@
    destroy: function() {
        this.handles.remove();
+        this.range.remove();
        this.element
            .removeClass("ui-slider"