fix webp display bug

This commit is contained in:
Sean
2020-04-23 18:14:00 +08:00
parent 19beba9106
commit c8052da7c0
4 changed files with 3 additions and 20 deletions
-1
View File
@@ -56,7 +56,6 @@ function anchor_create(anchor_name,anchor_id){
}
function anchor_search(purchase_link="none",quickstart_link="none"){
isSupportWebp();
var page_url = window.location.href;
if((page_url.slice(-4) == "/en/")||(page_url.slice(-7)== "/zh_CN/")||(page_url.slice(-3)== "/#/")){
$("#search_note").eq(0).after("<div class='anchor-box'></div>");
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -493,6 +493,7 @@
barEl.style.opacity = 0;
barEl.style.width = '0%';
barE2.style.display = "none";
isSupportWebp();
}, 200);
}
}
+1 -18
View File
File diff suppressed because one or more lines are too long