Skip to content

Commit

Permalink
Make QR BBcodes work when icon bar is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
iMattPro committed Sep 11, 2020
1 parent aab1271 commit 68f849d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions styles/all/template/abbc3_posting_buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

var copyPaste = '';

{% if S_QUICK_REPLY %}
form_name = 'qr_postform';
{% endif %}

/**
* Strip all BBCodes from the selected text
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{% if S_BBCODE_ALLOWED %}
{% include 'posting_buttons.html' %}
<script>
if (typeof form_name === 'undefined') {
var form_name;
}
form_name = 'qr_postform';
</script>
{% endif %}

0 comments on commit 68f849d

Please sign in to comment.