diff options
| author | RblSb <msrblsb@gmail.com> | 2020-04-24 05:34:58 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-04-24 05:34:58 +0300 |
| commit | af0b3a3fb9a679a0e1b32d18b67a2f5b0d43f5dd (patch) | |
| tree | 427fd565395328268989f6843e98a09e2412bb1f | |
| parent | 177057877733c33aadbb11b5884fe2c4a3e13de5 (diff) | |
Fix empty items in url history
| -rw-r--r-- | res/client.js | 2 | ||||
| -rw-r--r-- | 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); |
