Skip to content

Commit ecf8fe6

Browse files
committed
fix slider focus function.
1 parent 2916625 commit ecf8fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/glow/primitives.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3529,7 +3529,7 @@
35293529
$(attrs.jslider).attr('aria-label', value)
35303530
},
35313531
focus: function() {
3532-
$(attrs.jslider).focus()
3532+
$( `#${attrs._id} .ui-slider-handle`).focus()
35333533
},
35343534
remove: function() {
35353535
attrs.disabled = true

0 commit comments

Comments
 (0)