From 3e1d69cc090e42ecf1a6441851f0f60c47384392 Mon Sep 17 00:00:00 2001 From: Vidya Ramakrishnan Date: Thu, 14 Feb 2019 20:45:55 +0530 Subject: [PATCH] Open the accordion on search. --- funnel/assets/js/proposals.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/funnel/assets/js/proposals.js b/funnel/assets/js/proposals.js index 10d4cc376..4cb71a877 100644 --- a/funnel/assets/js/proposals.js +++ b/funnel/assets/js/proposals.js @@ -9,7 +9,8 @@ $(() => { let tableRow = `#${search.tableId} tbody tr`; $(inputId).keyup(function keyup() { if ($('.collapsible__body').css('display') === 'none') { - $('.collapsible__header').click(); + $('.collapsible__icon').toggleClass('mui--hide'); + $('.collapsible__body').slideToggle(); } $(tableRow).addClass('mui--hide'); let hits = tableSearch.searchRows($(this).val());