From b768f3ec60594b2a585ef28fbcc8f95cb8c6c874 Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 26 Jun 2022 15:45:47 +0200 Subject: [PATCH] small fixes --- themes/buha/static/js/generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/buha/static/js/generator.js b/themes/buha/static/js/generator.js index 5b89ea85..c1203595 100644 --- a/themes/buha/static/js/generator.js +++ b/themes/buha/static/js/generator.js @@ -139,7 +139,7 @@ function button(str) { let url = prompt("Please enter Link to an image", "https://de.wikipedia.org/static/images/project-logos/dewiki.png"); if (url != null) { var n = prompt("Name", "Wikipedia Logo"); - var desc = prompt("Describe the Picture for the Blind", "A Globe composed of letters and puzzle pieces"); if (desc != null && n != null) {var out = "\n\n![" + n + "](" + x + " \"" + desc + "\"" + ")\n\n";} + var desc = prompt("Describe the Picture for the Blind", "A Globe composed of letters and puzzle pieces"); if (desc != null && n != null) {var out = "\n\n![" + n + "](" + url + " \"" + desc + "\"" + ")\n\n";} } } if (x == "headline") {