summaryrefslogtreecommitdiff
path: root/byob.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-01-10 12:43:22 +0100
committerjmoenig <jens@moenig.org>2014-01-10 12:43:22 +0100
commit9d63d129a68713a092a39c37025f896ec4edf00f (patch)
treeebdd4758e58805c76d8f18e369552ec4d51e8121 /byob.js
parentfba838735947f755b9b23173d744b7dbcb670a70 (diff)
downloadsnap-byow-9d63d129a68713a092a39c37025f896ec4edf00f.tar.gz
snap-byow-9d63d129a68713a092a39c37025f896ec4edf00f.zip
Fixed #291 (readonly custom menus become non-readonly when block is edited)
Diffstat (limited to 'byob.js')
-rw-r--r--byob.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/byob.js b/byob.js
index 2ff40ab..4b581e1 100644
--- a/byob.js
+++ b/byob.js
@@ -194,7 +194,7 @@ CustomBlockDefinition.prototype.prototypeInstance = function () {
part.fragment.type = slot[0];
part.fragment.defaultValue = slot[1];
part.fragment.options = slot[2];
- part.fragment.isReadonly = slot[3] || false;
+ part.fragment.isReadOnly = slot[3] || false;
}
}
});