Changeset 5508
- Timestamp:
- 05/08/08 17:31:30 (5 days ago)
- Files:
-
- 1 modified
-
trunk/ui/ui.slider.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/ui.slider.js
r5507 r5508 14 14 */ 15 15 ;(function($) { 16 17 $.fn.unwrap = $.fn.unwrap || function(expr) { 18 return this.each(function(){ 19 $(this).parents(expr).eq(0).after(this).remove(); 20 }); 21 }; 16 22 17 23 $.widget("ui.slider", { … … 144 150 .removeData("slider") 145 151 .unbind(".slider"); 146 this.handle.mouse("destroy"); 152 this.handle 153 .unwrap("a") 154 .mouse("destroy"); 147 155 this.generated && this.generated.remove(); 148 156 }, … … 272 280 273 281 handleIndex: function() { 274 return this.handle.index(this.currentHandle[0]) 282 return this.handle.index(this.currentHandle[0]); 275 283 }, 276 284