diff --git a/public/js/app.js b/public/js/app.js index b5f3c5625..f24ff3550 100644 Binary files a/public/js/app.js and b/public/js/app.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index ba69dabfd..e132fcbe8 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/commentform.js b/resources/assets/js/components/commentform.js index a0b56332c..6993240c7 100644 --- a/resources/assets/js/components/commentform.js +++ b/resources/assets/js/components/commentform.js @@ -14,6 +14,7 @@ $(document).ready(function() { let commenttext = commentform.val(); let item = {item: id, comment: commenttext}; + commentform.prop('disabled', true); axios.post('/i/comment', item) .then(function (res) { @@ -33,6 +34,7 @@ $(document).ready(function() { commentform.val(''); commentform.blur(); + commentform.prop('disabled', false); }) .catch(function (res) {