mirror of
https://github.com/Starlio-app/StarlioX
synced 2024-11-21 08:36: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'];
|
||||
|
||||
const explanation = ids[id]['explanation'].length > 200 ? ids[id]['explanation'].slice(0, 200) + "..." : ids[id]['explanation'];
|
||||
console.log(explanation);
|
||||
const explanation = ids[id]['explanation'].length > 200 ?
|
||||
ids[id]['explanation'].slice(0, 200) + "..." :
|
||||
ids[id]['explanation'];
|
||||
|
||||
if (ids[id]['media_type'] === "image") {
|
||||
title.innerHTML = `<h5 class="modal-title">${ids[id]['title']}</h5>`;
|
||||
img.innerHTML = `
|
||||
|
|
Loading…
Add table
Reference in a new issue