diff --git a/core/field.js b/core/field.js index 5547d73bf..4b18ca08e 100644 --- a/core/field.js +++ b/core/field.js @@ -482,8 +482,9 @@ Blockly.Field.prototype.isEnabled = function() { * @return {boolean} Whether this field is clickable. */ Blockly.Field.prototype.isClickable = function() { - return this.enabled_ && !!this.sourceBlock_ && this.sourceBlock_.isEditable() - && !!this.showEditor_ && (typeof this.showEditor_ === 'function'); + return this.enabled_ && !!this.sourceBlock_ && + this.sourceBlock_.isEditable() && !!this.showEditor_ && + (typeof this.showEditor_ === 'function'); }; /**