From 4d686b80748730f71346bb029e44b7a132ba5ffd Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 17 Jun 2018 21:45:01 -0600 Subject: [PATCH] Update commentform Closes #284 --- public/css/app.css | Bin 214298 -> 214477 bytes public/js/app.js | Bin 309837 -> 309847 bytes public/mix-manifest.json | Bin 250 -> 250 bytes resources/assets/js/components/commentform.js | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/app.css b/public/css/app.css index d3c5687bcf3ef461d54d06ad8a6c1303106209c3..bff19b1fabc7f5849da465d2c70377f45573b93c 100644 GIT binary patch delta 175 zcmbQ$#e24!x1oixg=q`(3eM@mjEsW1rsie^6`Iw0$%#cNy16O3Mfs(9DXA&C2GvRV zMJcI8y5*TEB^g$R1r-Vg*3*4snWU!iGK*~A#mVf>9HCcSl2}q&tXq(gUy`qonVVj% zo3ERnl$DxXqMMdkVwIeqSCW{SXN^TDH?cxDBQ-NU1E?x7Ct1VLz@RKcL07@7C^c7e J8!xkz1prT0I}ZQ= delta 32 ocmX@x%{!}$x1oixg=q`(3eN3JT+ETo(;2y#g|{E)WoEMg0I~iFFaQ7m diff --git a/public/js/app.js b/public/js/app.js index f24ff355008c7cce42088ed18dcedae84c2847bb..e1e65874df5721d65ff134b41f43820f2f20b6f3 100644 GIT binary patch delta 41 vcmX^6Md(HT6nTD@ximelP+t({_y?%&La~Yy}Xt delta 31 lcmccqMd<7op@uDt%0E~$^~w@++KqlN0x{EeqaVzwhXC#34iEqU diff --git a/public/mix-manifest.json b/public/mix-manifest.json index e132fcbe8fb7e7b22a5247e1663b9ca943f4cc2e..7d55e58645c95aa4d9a797673f9c9d75e613c617 100644 GIT binary patch delta 54 zcmeyx_=|CZvPhzZk!h-tiGh)+p`~S-nT27pS@J}44Ut6iWHXZ#Lu1RNBmcRt JOM{8U?Eth0599y< delta 54 zcmeyx_=|CZvWTHUl2MYOp+%};Vxozefw`HHQOZPf4UrTJV`EE01A`R9WOL)Rlq7RY JQ}c<%?EtYi51Rl0 diff --git a/resources/assets/js/components/commentform.js b/resources/assets/js/components/commentform.js index 6993240c7..e6c9cd391 100644 --- a/resources/assets/js/components/commentform.js +++ b/resources/assets/js/components/commentform.js @@ -11,7 +11,7 @@ $(document).ready(function() { let el = $(this); let id = el.data('id'); let commentform = el.find('input[name="comment"]'); - let commenttext = commentform.val(); + let commenttext = $(commentform.val()).text(); let item = {item: id, comment: commenttext}; commentform.prop('disabled', true);