From dbee59b23021c4aa556f7e5e8e4b6d2e393f2234 Mon Sep 17 00:00:00 2001 From: LyLme Date: Thu, 12 May 2022 05:18:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/lylme/js/script.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/template/lylme/js/script.js b/template/lylme/js/script.js index b1ae5ae..b4a513f 100644 --- a/template/lylme/js/script.js +++ b/template/lylme/js/script.js @@ -28,7 +28,11 @@ function lylme(){ } } - +$(document).on('click', '.search-type li', function(){ + var icon=$(this).find('svg').html() //|| $(this).find('img')[0].outerHTML; + $(".lylme").html(icon); +}); +