summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--byob.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/byob.js b/byob.js
index 9e0c067..e47f7c5 100644
--- a/byob.js
+++ b/byob.js
@@ -167,6 +167,9 @@ CustomBlockDefinition.prototype.templateInstance = function () {
var block;
block = this.blockInstance();
block.refreshDefaults();
+ if (!block.zebraContrast) {
+ block.forceNormalColoring(); // label still is wrong
+ }
block.isDraggable = false;
block.isTemplate = true;
return block;