aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-01 13:29:56 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-03-01 13:29:56 +0100
commitb141d63a17a7f79b36ee9c9a0f1dd66493f3ef8e (patch)
tree0eee9b5862b36d7418d3878d5e00c02eb7e86f04 /ui
parent98daa6af8406d50a204a77b082f570fdf0f61b6d (diff)
downloadjquery-ui-b141d63a17a7f79b36ee9c9a0f1dd66493f3ef8e.tar.gz
jquery-ui-b141d63a17a7f79b36ee9c9a0f1dd66493f3ef8e.zip
Update data naming for Slider. Partial fix for #7810
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.slider.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js
index 29dca7c03..36075507e 100644
--- a/ui/jquery.ui.slider.js
+++ b/ui/jquery.ui.slider.js
@@ -110,12 +110,12 @@ $.widget( "ui.slider", $.ui.mouse, {
});
this.handles.each(function( i ) {
- $( this ).data( "index.ui-slider-handle", i );
+ $( this ).data( "ui-slider-handle-index", i );
});
this.handles
.keydown(function( event ) {
- var index = $( this ).data( "index.ui-slider-handle" ),
+ var index = $( this ).data( "ui-slider-handle-index" ),
allowed,
curVal,
newVal,
@@ -185,7 +185,7 @@ $.widget( "ui.slider", $.ui.mouse, {
self._slide( event, index, newVal );
})
.keyup(function( event ) {
- var index = $( this ).data( "index.ui-slider-handle" );
+ var index = $( this ).data( "ui-slider-handle-index" );
if ( self._keySliding ) {
self._keySliding = false;