From c92a4f31f5f84abec998db105b416ce0150afdee Mon Sep 17 00:00:00 2001 From: "duzc2dtw@gmail.com" Date: Tue, 11 Sep 2018 00:57:52 +0800 Subject: [PATCH] fix #1887 --- core/field_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_); } };