update misc.js
This commit is contained in:
@@ -64,7 +64,8 @@ function do_search(query) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function replace_jpg_tn(tn) {
|
function replace_jpg_tn(tn) {
|
||||||
|
if (!tn.startsWith('https')) tn = `https:${tn}`;
|
||||||
if (tn.endsWith('jpg')) tn = tn.replace('bigtn', 'webpbigtn').replace(/jpg$/, 'webp');
|
if (tn.endsWith('jpg')) tn = tn.replace('bigtn', 'webpbigtn').replace(/jpg$/, 'webp');
|
||||||
|
|
||||||
return `https:${tn}`
|
return tn;
|
||||||
}
|
}
|
||||||
@@ -1 +1 @@
|
|||||||
0.0.7-DEV07
|
0.0.7-DEV08
|
||||||
Reference in New Issue
Block a user