mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Fixed #4318 - Slider: method destroy does not remove ui-slider-range
This commit is contained in:
parent
67f1d4b6af
commit
b025e67259
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user