diff --git a/core/field_image.js b/core/field_image.js index a2627eee5..999a61c29 100644 --- a/core/field_image.js +++ b/core/field_image.js @@ -135,7 +135,7 @@ Blockly.FieldImage.prototype.maybeAddClickHandler_ = function() { if (this.clickHandler_) { this.mouseDownWrapper_ = Blockly.bindEventWithChecks_( - this.fieldGroup_, 'mousedown', this, this.onMouseDown_); + this.fieldGroup_, 'mousedown', this, this.clickHandler_); } };