From e5233a1eec6b42fd5031a617959f4b95b81998de Mon Sep 17 00:00:00 2001 From: hehh Date: Wed, 14 Aug 2024 17:04:54 +0800 Subject: [PATCH] update js --- index.html | 2 +- js/main.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index ad6b160..d84b077 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,7 @@ - + diff --git a/js/main.js b/js/main.js index de8f327..16a8468 100644 --- a/js/main.js +++ b/js/main.js @@ -61,8 +61,7 @@ $(document).ready(function () { } var imgUrl = imgUrls[index]; - var url = "https://www.bing.com" + imgUrl; - $panel.css("background", "url('" + url + "') center center no-repeat #666"); + $panel.css("background", "url('" + imgUrl + "') center center no-repeat #666"); $panel.css("background-size", "cover"); $(".iUp").each(function (i, e) {