We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f3192f commit b3e9d79Copy full SHA for b3e9d79
src/rangeinput/rangeinput.js
@@ -344,11 +344,12 @@
344
// dragging
345
handle.drag({drag: false}).bind("dragStart", function() {
346
347
- /* do some pre- calculations for seek() function. improves performance */
+ /* do some pre- calculations for seek() function. improves performance */
348
+ init();
349
350
// avoid redundant event triggering (= heavy stuff)
351
fireOnSlide = hasEvent($(self)) || hasEvent(input);
-
352
+
353
354
}).bind("drag", function(e, y, x) {
355
@@ -370,8 +371,7 @@
370
371
if (input.is(":disabled") || e.target == handle[0]) {
372
return e.preventDefault();
373
}
374
- init();
375
var fix = handle.width() / 2;
376
slide(e, vertical ? len-origo-fix + e.pageY : e.pageX -origo -fix);
377
});
0 commit comments