summaryrefslogtreecommitdiff
path: root/src/templates/pad.html
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-05-19 16:57:53 +0100
committerJohn McLear <john@mclear.co.uk>2015-05-19 16:57:53 +0100
commit818408cf4984be67e4e3955acb9b0364cb0014f9 (patch)
treeaa6afe469b8b266c67dad42a008b226cfa0f89ff /src/templates/pad.html
parent41d24a8c8f1ab2953811192fdc12c1f1aee18d11 (diff)
downloadetherpad-lite-818408cf4984be67e4e3955acb9b0364cb0014f9.zip
other bits required for read only
Diffstat (limited to 'src/templates/pad.html')
-rw-r--r--src/templates/pad.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/pad.html b/src/templates/pad.html
index dd260414..5311b320 100644
--- a/src/templates/pad.html
+++ b/src/templates/pad.html
@@ -63,12 +63,12 @@
<ul class="menu_left" role="toolbar">
<% e.begin_block("editbarMenuLeft"); %>
- <%- toolbar.menu(settings.toolbar.left) %>
+ <%- toolbar.menu(settings.toolbar.left, isReadOnly) %>
<% e.end_block(); %>
</ul>
<ul class="menu_right" role="toolbar">
<% e.begin_block("editbarMenuRight"); %>
- <%- toolbar.menu(settings.toolbar.right) %>
+ <%- toolbar.menu(settings.toolbar.right, isReadOnly) %>
<% e.end_block(); %>
</ul>
</div>