aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/controls.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/controls.js')
-rw-r--r--src/js/controls.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js/controls.js b/src/js/controls.js
index 953ca293..c09a28c5 100644
--- a/src/js/controls.js
+++ b/src/js/controls.js
@@ -3,6 +3,7 @@
// TODO: This needs to be split into smaller files and cleaned up
// ==========================================================================
+import RangeTouch from 'rangetouch';
import captions from './captions';
import html5 from './html5';
import support from './support';
@@ -334,6 +335,9 @@ const controls = {
// Set the fill for webkit now
controls.updateRangeFill.call(this, input);
+ // Improve support on touch devices
+ RangeTouch.setup(input);
+
return input;
},