From 8893084e96380b6157e9ed36022ac2c77bf3193c Mon Sep 17 00:00:00 2001 From: Karthik <32044378+Karthik99999@users.noreply.github.com> Date: Wed, 25 Oct 2023 01:15:37 -0700 Subject: [PATCH] Update js/client-mainmenu.js Co-authored-by: urkerab --- js/client-mainmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-mainmenu.js b/js/client-mainmenu.js index 48c8ec8ddf..8601706c02 100644 --- a/js/client-mainmenu.js +++ b/js/client-mainmenu.js @@ -1318,7 +1318,7 @@ ); } var html = ''; - if (!bufs.length || !bufs.every(function (buf) { return !!buf; })) { + if (bufs.every(function (buf) { return !buf; })) { html = ''; } else { for (var i = 1, l = bufs.length; i < l; i++) {