Skip to content
Permalink
Browse files

Fixed #2969 - .slider("destroy") throws error - 'this.handle.unwrap("…

…a").mouse is not a function'
  • Loading branch information
rdworth committed Jun 7, 2008
1 parent 0a279c2 commit 1d5529afdea9225076b5e99a62dff8fb3c64c229
Showing with 4 additions and 2 deletions.
  1. +4 −2 ui/source/ui.slider.js
@@ -44,8 +44,10 @@ $.widget("ui.slider", {
.removeData("slider")
.unbind(".slider");
this.handle
.unwrap("a")
.mouse("destroy");
.unwrap("a");
this.handle.each(function() {
$(this).data("mouse").mouseDestroy();
});
this.generated && this.generated.remove();
},
setData: function(key, value) {

0 comments on commit 1d5529a

Please sign in to comment.
You can’t perform that action at this time.