From 84cf7a9bbcfb57aec2ef91b99334c242e94aed91 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 15 May 2017 18:23:40 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=9B=BE?= =?UTF-8?q?=E6=96=87=E7=BC=96=E8=BE=91=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/view/news.form.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/wechat/view/news.form.html b/application/wechat/view/news.form.html index fdaff7e54..1699c130a 100644 --- a/application/wechat/view/news.form.html +++ b/application/wechat/view/news.form.html @@ -244,7 +244,8 @@ /*! 删除操作图文 */ $body.off('click', '.upload-multiple-close').on('click', '.upload-multiple-close', function () { - $(this).parents('.news-item').remove(); + var $box = $(this).parents('.news-item'); + $box.add($box.next('hr')).remove(); $('.news-item').size() < 7 && $('.news-box .article-add').show(); });