mirror of
https://github.com/Starlio-app/StarlioX
synced 2024-11-24 09:06:22 +03:00
delete console log and made a line break
This commit is contained in:
parent
c4c937f6d9
commit
2ff004f14f
1 changed files with 4 additions and 2 deletions
|
@ -109,8 +109,10 @@ function wallpaperLoad(data) {
|
||||||
|
|
||||||
ids[id]['copyright'] = ids[id]['copyright'] === undefined ? "NASA" : ids[id]['copyright'];
|
ids[id]['copyright'] = ids[id]['copyright'] === undefined ? "NASA" : ids[id]['copyright'];
|
||||||
|
|
||||||
const explanation = ids[id]['explanation'].length > 200 ? ids[id]['explanation'].slice(0, 200) + "..." : ids[id]['explanation'];
|
const explanation = ids[id]['explanation'].length > 200 ?
|
||||||
console.log(explanation);
|
ids[id]['explanation'].slice(0, 200) + "..." :
|
||||||
|
ids[id]['explanation'];
|
||||||
|
|
||||||
if (ids[id]['media_type'] === "image") {
|
if (ids[id]['media_type'] === "image") {
|
||||||
title.innerHTML = `<h5 class="modal-title">${ids[id]['title']}</h5>`;
|
title.innerHTML = `<h5 class="modal-title">${ids[id]['title']}</h5>`;
|
||||||
img.innerHTML = `
|
img.innerHTML = `
|
||||||
|
|
Loading…
Add table
Reference in a new issue