Browse Source

Consistently refer to Markdown with a capital

merge-requests/20/head
Josh Holland 6 years ago
committed by Deimos
parent
commit
147c22d071
  1. 2
      tildes/static/js/behaviors/comment-reply-button.js
  2. 2
      tildes/tildes/templates/macros/forms.jinja2

2
tildes/static/js/behaviors/comment-reply-button.js

@ -42,7 +42,7 @@ $.onmount('[data-js-comment-reply-button]', function() {
textarea.setAttribute('id', markdownID); textarea.setAttribute('id', markdownID);
textarea.setAttribute('name', 'markdown'); textarea.setAttribute('name', 'markdown');
textarea.setAttribute('class', 'form-input'); textarea.setAttribute('class', 'form-input');
textarea.setAttribute('placeholder', 'Comment text (markdown)');
textarea.setAttribute('placeholder', 'Comment text (Markdown)');
textarea.setAttribute('data-js-ctrl-enter-submit-form', ''); textarea.setAttribute('data-js-ctrl-enter-submit-form', '');
textarea.setAttribute('data-js-auto-focus', ''); textarea.setAttribute('data-js-auto-focus', '');

2
tildes/tildes/templates/macros/forms.jinja2

@ -7,7 +7,7 @@
class="form-input" class="form-input"
id="{{ id }}" id="{{ id }}"
name="markdown" name="markdown"
placeholder="Text (markdown)"
placeholder="Text (Markdown)"
data-js-ctrl-enter-submit-form data-js-ctrl-enter-submit-form
{% if auto_focus %}data-js-auto-focus{% endif %} {% if auto_focus %}data-js-auto-focus{% endif %}
>{% if text %}{{ text }}{% endif %}</textarea> >{% if text %}{{ text }}{% endif %}</textarea>

Loading…
Cancel
Save