From ab2fc67857f80f92997103b023268d77f6a5aa4b Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Sat, 5 Dec 2015 04:09:39 -0800 Subject: [PATCH] Fix isAutoFill to allow false values currently the expression isAutoFill || true will always evaluate to true! :O (That makes the argument somewhat useless though.) So, this fixes things... --- gui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.js b/gui.js index 95e9a17b..67f60311 100644 --- a/gui.js +++ b/gui.js @@ -233,7 +233,7 @@ IDE_Morph.prototype.init = function (isAutoFill) { this.corralBar = null; this.corral = null; - this.isAutoFill = isAutoFill || true; + this.isAutoFill = isAutoFill === undefined ? true : isAutoFill; this.isAppMode = false; this.isSmallStage = false; this.filePicker = null;