diff --git a/core/flyout_button.js b/core/flyout_button.js index 13ce2b1a6..eedeceffe 100644 --- a/core/flyout_button.js +++ b/core/flyout_button.js @@ -179,8 +179,8 @@ Blockly.FlyoutButton.prototype.createDom = function() { this.updateTransform_(); - this.mouseUpWrapper_ = Blockly.bindEventWithChecks_(this.svgGroup_, 'mouseup', - this, this.onMouseUp_); + this.onMouseUpWrapper_ = Blockly.bindEventWithChecks_( + this.svgGroup_, 'mouseup', this, this.onMouseUp_); return this.svgGroup_; };