Skip to content

Commit

Permalink
Open the accordion on search.
Browse files Browse the repository at this point in the history
  • Loading branch information
vidya-ram committed Feb 14, 2019
1 parent db35720 commit 3e1d69c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion funnel/assets/js/proposals.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 3e1d69c

Please sign in to comment.