浏览代码

Update compiled assets

Daniel Supernault 7 年之前
父节点
当前提交
0be5a9ec5d
共有 3 个文件被更改,包括 2 次插入0 次删除
  1. 二进制
      public/js/app.js
  2. 二进制
      public/mix-manifest.json
  3. 2 0
      resources/assets/js/components/commentform.js

二进制
public/js/app.js


二进制
public/mix-manifest.json


+ 2 - 0
resources/assets/js/components/commentform.js

@@ -14,6 +14,7 @@ $(document).ready(function() {
     let commenttext = commentform.val();
     let commenttext = commentform.val();
     let item = {item: id, comment: commenttext};
     let item = {item: id, comment: commenttext};
 
 
+    commentform.prop('disabled', true);
     axios.post('/i/comment', item)
     axios.post('/i/comment', item)
     .then(function (res) {
     .then(function (res) {
 
 
@@ -33,6 +34,7 @@ $(document).ready(function() {
       
       
       commentform.val('');
       commentform.val('');
       commentform.blur();
       commentform.blur();
+      commentform.prop('disabled', false);
 
 
     })
     })
     .catch(function (res) {
     .catch(function (res) {