diff --git a/html/js/tree/Payoff.js b/html/js/tree/Payoff.js
index a4614a3..709e63e 100644
--- a/html/js/tree/Payoff.js
+++ b/html/js/tree/Payoff.js
@@ -76,7 +76,7 @@ GTE.TREE = (function(parentModule) {
} else {
window.alert("Payoff should be a number.");
// In order to get the previous text back, change text to current this.text
- this.changeText(this.text);
+ this.editable.setText(this.text);
}
return this.value;
};