From 0baa32e6eb27679276593e523e40993744eda5a0 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 20 Nov 2022 18:55:26 +0200 Subject: [PATCH] fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3107571?context=8#context --- files/assets/js/submit.js | 4 ++-- files/templates/submit.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/assets/js/submit.js b/files/assets/js/submit.js index 1102578ebe..93df4c15df 100644 --- a/files/assets/js/submit.js +++ b/files/assets/js/submit.js @@ -166,7 +166,7 @@ function ghost_toggle(t) { function checkRepost() { const system = document.getElementById('system') - system.innerHTML = `To post an image, use a direct image link such as i.imgur.com`; + system.innerHTML = ""; const url = document.getElementById('post-url').value const min_repost_check = 9; @@ -185,7 +185,7 @@ function checkRepost() { const permalinkText = escapeHTML(data["permalink"]); const permalinkURI = encodeURI(data["permalink"]); if (permalinkText) { - system.innerHTML = `This is a repost of ${permalinkText}`; + system.innerHTML = `This is a repost of ${permalinkText}`; } } } diff --git a/files/templates/submit.html b/files/templates/submit.html index 9da1248b4b..387e2e6235 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -48,7 +48,7 @@
- To post an image, use a direct image link such as i.imgur.com +