From c28590160e0758a387d13fab77f74979cc1e1652 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Tue, 25 Feb 2025 18:51:56 +0530 Subject: [PATCH] Added: Trimmed the text searched in the modules catalog page --- js/admin/modules_catalog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/admin/modules_catalog.js b/js/admin/modules_catalog.js index 171d3ba56..417d88c4d 100644 --- a/js/admin/modules_catalog.js +++ b/js/admin/modules_catalog.js @@ -52,6 +52,7 @@ $('document').ready( function() { function filterPanel(val, element_class) { + val = $.trim(val); $('#'+element_class+' .list-empty').hide(); $('#'+element_class+' .element-panel').css('display', 'flex').removeClass('hidden');