aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Main.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Main.hx')
-rw-r--r--src/client/Main.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index 846acf6..7e3a3be 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -202,7 +202,7 @@ class Main {
final url = mediaUrl.value;
if (url.length == 0) return;
mediaUrl.value = "";
- settings.latestLinks.push(url);
+ InputWithHistory.pushIfNotLast(settings.latestLinks, url);
Settings.write(settings);
final url = ~/, ?(https?)/g.replace(url, "|$1");
final links = url.split("|");
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage