diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-14 10:44:16 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-14 10:44:16 +0200 |
commit | 46b6415f5fddcea5aa7c4c55842405b68a7ccd6a (patch) | |
tree | 9fd6068adf3735f5f391b4c5cf6df1b091ac8e51 /view | |
parent | 5aa0fe2bf0a4f0b4b6e2fd0341448a61dc4b9044 (diff) | |
download | volse-hubzilla-46b6415f5fddcea5aa7c4c55842405b68a7ccd6a.tar.gz volse-hubzilla-46b6415f5fddcea5aa7c4c55842405b68a7ccd6a.tar.bz2 volse-hubzilla-46b6415f5fddcea5aa7c4c55842405b68a7ccd6a.zip |
wiki: do not suggest bbcode if mimetype is text/plain
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/wiki.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl index 681269002..7995b7bb1 100644 --- a/view/tpl/wiki.tpl +++ b/view/tpl/wiki.tpl @@ -455,8 +455,10 @@ window.editor.on("input", function() { $('#save-page').removeClass('disabled'); }); + {{if $mimeType == 'text/bbcode'}} window.editor.bbco_autocomplete('bbcode'); {{/if}} + {{/if}} }); $(window).resize(function () { |