Commit c812f4dd authored by Valentin Hervieu's avatar Valentin Hervieu

Prevent events from being bound twice.

parent a6ae35ba
......@@ -281,7 +281,6 @@
this.initElemHandles();
this.manageElementsStyle();
this.addAccessibility();
this.manageEventsBindings();
this.setDisabledState();
this.calcViewDimensions();
this.setMinAndMax();
......@@ -290,7 +289,7 @@
self.updateCeilLab();
self.updateFloorLab();
self.initHandles();
self.bindEvents();
self.manageEventsBindings();
});
// Recalculate slider view dimensions
......@@ -1244,7 +1243,7 @@
},
onPointerBlur: function(pointer, event) {
console.info('focused', this.tracking);
console.info('blured', this.tracking);
pointer.off('keydown');
this.tracking = '';
pointer.removeClass('rz-active');
......
This diff is collapsed.
......@@ -281,7 +281,6 @@
this.initElemHandles();
this.manageElementsStyle();
this.addAccessibility();
this.manageEventsBindings();
this.setDisabledState();
this.calcViewDimensions();
this.setMinAndMax();
......@@ -290,7 +289,7 @@
self.updateCeilLab();
self.updateFloorLab();
self.initHandles();
self.bindEvents();
self.manageEventsBindings();
});
// Recalculate slider view dimensions
......@@ -1244,7 +1243,7 @@
},
onPointerBlur: function(pointer, event) {
console.info('focused', this.tracking);
console.info('blured', this.tracking);
pointer.off('keydown');
this.tracking = '';
pointer.removeClass('rz-active');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment