summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2016-07-08 16:31:47 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2016-07-08 16:31:47 +0100
commitf5ebbf1091519ecab54e31cfa9395ac8c0856e5e (patch)
tree02212f2fd67dbbb6fa9effa3fa3824cfa5baadf0
parentd2289594fa71196ec04962e7e4b1e55783c7e410 (diff)
downloadsievely-f5ebbf1091519ecab54e31cfa9395ac8c0856e5e.tar.bz2
Do not allow disabling of blocks by user
-rw-r--r--sievely/funcs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/sievely/funcs.js b/sievely/funcs.js
index 76b7fb1..2c697de 100644
--- a/sievely/funcs.js
+++ b/sievely/funcs.js
@@ -179,6 +179,7 @@ Sievely.inject__ = function(toolboxxml, blocksxml) {
var workspace = Blockly.inject(blocklyDiv,
{
toolbox: Blockly.Xml.textToDom(toolboxxml),
+ disable: false,
comments: false
});
var onresize = function(e) {