From fc40dfba25d855a7ac3c4c0e751e6ac9d1c427d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Fri, 16 Jun 2017 10:04:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9Fdefer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/htmlcompressor/controllers/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/third_party/htmlcompressor/controllers/index.php b/application/third_party/htmlcompressor/controllers/index.php index 633ba5a1..9f4fccd8 100644 --- a/application/third_party/htmlcompressor/controllers/index.php +++ b/application/third_party/htmlcompressor/controllers/index.php @@ -97,9 +97,9 @@ class Index extends CI_Controller { $lastload_js.=''; //把js移动到页面底部 foreach ($link_js_array as $item) { - $lastload_js.=''; + $lastload_js.=''; } - $lastload_js.=''; + $lastload_js.=$js_content; $html_object = str_replace('', $lastload_js . '', $html_object); }