fix some bug

This commit is contained in:
Sean
2020-04-23 14:52:01 +08:00
parent 74af0d3e82
commit 19beba9106
4 changed files with 6 additions and 6 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -582,7 +582,7 @@ body[data-page="zh_CN/README.md"] .markdown-section {
}
mark {
background-color: #888;
background-color: #0073a5b0;
color: white
}
+3 -3
View File
@@ -304,11 +304,11 @@ function use_jpg() {
var path = pics[i].src.substr(0,pics[i].src.indexOf(".webp"));
pics[i].src = path+".jpg"
}else{
if(pics[i].src.indexOf("assets/") != -1) {
var path = pics[i].src.substr(pics[i].src.indexOf("assets/"),);
if(pics[i].src.indexOf("assets") != -1) {
var path = pics[i].src.substr(pics[i].src.indexOf("assets"),);
pics[i].src = "https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/product_jpg/"+path.replace(".webp",".jpg");
}else if(pics[i].src.indexOf("image/") != -1){
var path = pics[i].src.substr(pics[i].src.indexOf("image/"),);
var path = pics[i].src.substr(pics[i].src.indexOf("image"),);
pics[i].src = "https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/product_jpg/"+path.replace(".webp",".jpg");
}
}
+1 -1
View File
File diff suppressed because one or more lines are too long