Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit ea0f30d

Browse files
committed
Changed example update output selector
To update the the output also for native elements
1 parent f960b78 commit ea0f30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2>Destroy a plugin instance</h2>
9797
selector = '[data-rangeslider]',
9898
$input = $(selector);
9999

100-
$document.on('change', selector, function(e) {
100+
$document.on('change', 'input[type="range"]', function(e) {
101101
var value = e.target.value,
102102
output = e.target.parentNode.getElementsByTagName('output')[0];
103103
output.innerHTML = value;

0 commit comments

Comments
 (0)