Fixed comments not working.
This commit is contained in:
parent
f6fc3946d0
commit
ae877ad1e3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ Misuzu.Comments.init = function() {
|
|||
|
||||
var commentInputs = document.getElementsByClassName('comment__text--input');
|
||||
for(var i = 0; i < commentInputs.length; ++i) {
|
||||
commentInputs[i].form.action = '';
|
||||
commentInputs[i].form.action = 'javascript:void(0);';
|
||||
commentInputs[i].form.addEventListener('submit', Misuzu.Comments.postCommentHandler);
|
||||
commentInputs[i].addEventListener('keydown', Misuzu.Comments.inputCommentHandler);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue