From da63b38f2dc14b5217f7f25b49eab205c1475089 Mon Sep 17 00:00:00 2001 From: Redume Date: Sun, 25 Sep 2022 11:09:16 +0300 Subject: [PATCH] Changed the position of the selected text --- web/static/scripts/gallery.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/static/scripts/gallery.js b/web/static/scripts/gallery.js index 2991bb8..cbf224d 100644 --- a/web/static/scripts/gallery.js +++ b/web/static/scripts/gallery.js @@ -58,9 +58,9 @@ function Wallpaper(data) { if(data[id-1].media_type === "image") { img.innerHTML = ` ${data[id - 1].title} -

Author: ${data[id - 1].copyright}

-

Date of shooting: ${data[id - 1].date}

-

Explanation: ${data[id - 1].explanation}

+

Author: ${data[id - 1].copyright}

+

Date of publication: ${data[id - 1].date}

+

Explanation: ${data[id - 1].explanation}

`.replace("undefined", "Unknown") title.innerHTML = ` @@ -87,9 +87,9 @@ function Wallpaper(data) { } else { img.innerHTML = ` -

Author: ${data[id - 1].copyright}

-

Date of shooting: ${data[id - 1].date}

-

Explanation: ${data[id - 1].explanation}

+

Author: ${data[id - 1].copyright}

+

Date of publication: ${data[id - 1].date}

+

Explanation: ${data[id - 1].explanation}

`.replace("undefined", "Unknown") title.innerHTML = `