From 8d2540c09c42b13a03a685304df27bde932b5ecd Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 18 Mar 2022 17:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- public/home/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/home/search.js b/public/home/search.js index c6fc2d586..fc4ad3b42 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -709,7 +709,7 @@ function page(current){ function showTip(tip, type,left,top) { var $tip = $('#tipmsg'); - $tip.stop(true).prop('class', 'alert alert-' + type).html(tip).css('left', left).css('top', top).css('position', 'relative').fadeIn(500).delay(2000).fadeOut(500); + $tip.stop(true).prop('class', 'alert alert-' + type).html(tip).css({'left':left,'top':top,'position':'relative'}).fadeIn(500).delay(2000).fadeOut(500); } function setPage(currentPage){