Merge pull request #2046 from duzc2/_fix_image_click

fix #1887 #2034
This commit is contained in:
Rachel Fenichel
2018-09-13 11:09:02 -07:00
committed by GitHub

View File

@@ -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_);
}
};