aboutsummaryrefslogtreecommitdiff
path: root/src/main/assets/scripts.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/assets/scripts.js')
-rw-r--r--src/main/assets/scripts.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js
index 2c56fe7f..69a5814d 100644
--- a/src/main/assets/scripts.js
+++ b/src/main/assets/scripts.js
@@ -284,7 +284,7 @@ function showCommentForm(mid, rid) {
<textarea name="body" rows="1" class="reply" placeholder="${i18n('comment.writeComment')}"></textarea>
<div class="attach-photo">${evilIcon('ei-camera')}</div>
</div>
- <input type="submit" value="OK">
+ <input type="submit" class="Button" value="OK">
</div>
</form>`;
formTarget.insertAdjacentHTML('afterend', formHtml);
@@ -428,7 +428,7 @@ function openPostDialog() {
<input class="img" name="img" placeholder="${i18n('postForm.imageLink')} (${i18n('postForm.imageFormats')})"/>
${i18n('postForm.or')} <a href="#">${i18n('postForm.upload')}</a><br/>
<input id="tags_input" class="tags" name="tags" placeholder="${i18n('postForm.tags')}"/><br/>
- <input type="submit" class="subm" value="${i18n('postForm.submit')}"/>
+ <input type="submit" class="subm Button" value="${i18n('postForm.submit')}"/>
</div>
</form>
`;
@@ -501,7 +501,7 @@ function openDialogLogin() {
<form action="/login" method="POST">
<input class="signinput" type="text" name="username" placeholder="${i18n('loginDialog.username')}"/><br/>
<input class="signinput" type="password" name="password" placeholder="${i18n('loginDialog.password')}"/><br/>
- <input class="signsubmit" type="submit" value="OK"/>
+ <input class="signsubmit Button" type="submit" value="OK"/>
</form>
</div>`;
openDialog(html);
@@ -643,7 +643,7 @@ ready(function() {
renderIcons();
var insertPMButtons = function(e) {
e.target.classList.add('narrowpm');
- e.target.parentNode.insertAdjacentHTML('afterend', '<input type="submit" value="OK"/>');
+ e.target.parentNode.insertAdjacentHTML('afterend', '<input type="submit" class="Button" value="OK"/>');
e.target.removeEventListener('click', insertPMButtons);
e.preventDefault();
};