diff --git a/core/field_variable.js b/core/field_variable.js index 7a3d6a37c..d8f88d905 100644 --- a/core/field_variable.js +++ b/core/field_variable.js @@ -120,7 +120,7 @@ Blockly.FieldVariable.prototype.initModel = function() { * Dispose of this field. * @public */ -Blockly.FieldVariable.dispose = function() { +Blockly.FieldVariable.prototype.dispose = function() { Blockly.FieldVariable.superClass_.dispose.call(this); this.workspace_ = null; this.variableMap_ = null;