Skip to content

Commit 327a6f1

Browse files
better cotextual accordion show
1 parent 8b14b55 commit 327a6f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎anvio/data/interactive/js/context-menu.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ ContextMenu = function(options) {
154154
legendIndex = idx
155155
}
156156
})
157-
$( ".ui-accordion-header" ).eq( legendIndex ).click()
157+
$( ".ui-accordion" ).accordion( "option", "active", legendIndex );
158158
$( `#${legend.replaceAll('_','-').replaceAll(' ','-')}-query-input`).val(query)
159159

160160
function extractContent(s) { // reference https://stackoverflow.com/questions/28899298/extract-the-text-out-of-html-string-using-javascript

0 commit comments

Comments
 (0)