diff --git a/assets/komments.js b/assets/komments.js index 812a0eb..43646c2 100644 --- a/assets/komments.js +++ b/assets/komments.js @@ -15,7 +15,7 @@ docReady(function () { const kommentAuthor = document.querySelector('#kommentform #author'); const kommentUrl = document.querySelector('#kommentform #author_url'); const timeField = document.querySelector('#kommentform .cts'); - const submitField = document.querySelector('#kommentform input[type=submit]'); + const submitField = document.querySelector('#kommentform [type=submit]'); const spamIndicatorProgress = document.querySelector('#kommentform .spam-indicator .progress'); const sendingIndicator = document.querySelector('#kommentform .loader'); const formFeedback = document.querySelector('#kommentform .form-feedback');