diff options
author | Vitaly Takmazov | 2020-04-29 14:55:45 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-04-29 14:55:45 +0300 |
commit | a9521ab38dbc25d55a792d07940e3fc6c674e50a (patch) | |
tree | 76ce46db0f74153b7a829c2f51b2717adaa6b5d1 /src/main/assets/scripts.js | |
parent | 6f723da6ec8f7a3f005358862e081c211243f25f (diff) |
Button style
Diffstat (limited to 'src/main/assets/scripts.js')
-rw-r--r-- | src/main/assets/scripts.js | 8 |
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(); }; |