From f421929f7bc097b42184554580d7e16fe4f73728 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Wed, 22 Apr 2026 14:49:33 +0200 Subject: [PATCH] fix insta search on page load on IE --- copyparty/web/browser.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 078d44eb..9345e43c 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6926,7 +6926,9 @@ var search_ui = (function () { clmod(ebi('srch_quickopts'), 'act', 't'); } folderSearch.oninput = function(){ - var v = unsmart(this.value) + var v = unsmart(this.value); + if(IE && !v) + return; var nsearch = ebi('srch_namev'); nsearch.value = v; nsearch.oninput(); @@ -6953,6 +6955,7 @@ var search_ui = (function () { is_txt = id.slice(-1) == 'v', is_chk = id.slice(-1) == 'c'; + console.log(id); if (is_txt) { var chk = ebi(id.slice(0, -1) + 'c'); chk.checked = ((v + '').length > 0);