diff --git a/core/field_angle.js b/core/field_angle.js index 74e767f90..698bac234 100644 --- a/core/field_angle.js +++ b/core/field_angle.js @@ -168,11 +168,11 @@ Blockly.FieldAngle.prototype.showEditor_ = function() { } svg.style.marginLeft = (15 - Blockly.FieldAngle.RADIUS) + 'px'; this.clickWrapper_ = - Blockly.bindEventWithChecks_(svg, 'click', this, Blockly.WidgetDiv.hide); + Blockly.bindEvent_(svg, 'click', this, Blockly.WidgetDiv.hide); this.moveWrapper1_ = - Blockly.bindEventWithChecks_(circle, 'mousemove', this, this.onMouseMove); + Blockly.bindEvent_(circle, 'mousemove', this, this.onMouseMove); this.moveWrapper2_ = - Blockly.bindEventWithChecks_(this.gauge_, 'mousemove', this, + Blockly.bindEvent_(this.gauge_, 'mousemove', this, this.onMouseMove); this.updateGraph_(); };