From af0b3a3fb9a679a0e1b32d18b67a2f5b0d43f5dd Mon Sep 17 00:00:00 2001 From: RblSb Date: Fri, 24 Apr 2020 05:34:58 +0300 Subject: Fix empty items in url history --- res/client.js | 2 +- src/client/Main.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/client.js b/res/client.js index c0a61e3..9903f55 100644 --- a/res/client.js +++ b/res/client.js @@ -954,7 +954,7 @@ client_Main.prototype = { }; new client_InputWithHistory(window.document.querySelector("#mediaurl"),this.settings.latestLinks,10,function(value) { _gthis.addVideoUrl(true); - return true; + return false; }); window.document.querySelector("#ce_queue_next").onclick = function(e4) { _gthis.addIframe(false); diff --git a/src/client/Main.hx b/src/client/Main.hx index 99f49b3..f8579b1 100644 --- a/src/client/Main.hx +++ b/src/client/Main.hx @@ -138,7 +138,7 @@ class Main { ge("#queue_end").onclick = e -> addVideoUrl(true); new InputWithHistory(cast ge("#mediaurl"), settings.latestLinks, 10, value -> { addVideoUrl(true); - return true; + return false; }); ge("#ce_queue_next").onclick = e -> addIframe(false); -- cgit v1.2.3