소스 검색

Update compiled assets

Daniel Supernault 7 년 전
부모
커밋
0be5a9ec5d
3개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      public/js/app.js
  2. BIN
      public/mix-manifest.json
  3. 2 0
      resources/assets/js/components/commentform.js

BIN
public/js/app.js


BIN
public/mix-manifest.json


+ 2 - 0
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) {