mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
fix webp display bug
This commit is contained in:
@@ -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>");
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -493,6 +493,7 @@
|
||||
barEl.style.opacity = 0;
|
||||
barEl.style.width = '0%';
|
||||
barE2.style.display = "none";
|
||||
isSupportWebp();
|
||||
}, 200);
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-18
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user