Weow tenary :D
This commit is contained in:
parent
98b6310b6f
commit
dc440646a6
|
@ -293,15 +293,7 @@
|
||||||
// screenshot
|
// screenshot
|
||||||
const elShot = $('.search-result-screenshot-default', entry);
|
const elShot = $('.search-result-screenshot-default', entry);
|
||||||
if (isUsw) {
|
if (isUsw) {
|
||||||
if (/^https?:/i.test(shotName)) {
|
elShot.src = /^https?:/i.test(shotName) ? imgType !== '.jpg' ? shotName.replace(/\.jpg$/, imgType) : shotName : BLANK_PIXEL;
|
||||||
if (imgType !== '.jpg') {
|
|
||||||
elShot.src = shotName.replace(/\.jpg$/, imgType);
|
|
||||||
} else {
|
|
||||||
elShot.src = shotName;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
elShot.src = BLANK_PIXEL;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
const auto = URLS.uso + `auto_style_screenshots/${id}${USO_AUTO_PIC_SUFFIX}`;
|
const auto = URLS.uso + `auto_style_screenshots/${id}${USO_AUTO_PIC_SUFFIX}`;
|
||||||
Object.assign(elShot, {
|
Object.assign(elShot, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user