diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2009-01-16 02:09:45 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2009-01-16 02:09:45 +0000 |
commit | 8139c81d1b3521c8b8406a3c069c1c8829b05abe (patch) | |
tree | 1b1a3d259e4521916f7ec4d510ff5201f43d5ea7 /ui/ui.slider.js | |
parent | 78c4d87d7b2f9f8ece53f062eb44cabf9dd51bf3 (diff) | |
download | jquery-ui-8139c81d1b3521c8b8406a3c069c1c8829b05abe.tar.gz jquery-ui-8139c81d1b3521c8b8406a3c069c1c8829b05abe.zip |
Revert changes for #3838 for the release 1.6rc5
Diffstat (limited to 'ui/ui.slider.js')
-rw-r--r-- | ui/ui.slider.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ui/ui.slider.js b/ui/ui.slider.js index 6b21e162c..d2762deff 100644 --- a/ui/ui.slider.js +++ b/ui/ui.slider.js @@ -13,15 +13,9 @@ (function($) { -var widgetName = "slider"; -var classWidgetName = ".slider"; - $.widget("ui.slider", $.extend({}, $.ui.mouse, { _init: function() { - // update widgetName with the name given by the widget factory - widgetName = this.widgetName; - classWidgetName = '.' + widgetName; var self = this, o = this.options; this._keySliding = false; @@ -166,8 +160,8 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, { + " ui-widget" + " ui-widget-content" + " ui-corner-all") - .removeData(widgetName) - .unbind(classWidgetName); + .removeData("slider") + .unbind(".slider"); this._mouseDestroy(); |