Skip to content

Commit

Permalink
no longer reset feature dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
WalshKieran committed Feb 5, 2024
1 parent 4c17683 commit 45cef42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ <h3>CRISPRi Volcano Plot Guide</h3>
const params = new URLSearchParams(window.prediction_tab?.location?.search || '');
const range = get_genomic_range(row[range_index_19]);
const size = range[2] - range[1];
params.set('selection', row[name_index] + '_logits');
let existing = params.get('selection')?.split(',')[1]
params.set('selection', row[name_index] + '_logits' + (existing ? `,${existing}` : ''));
params.set('subview', size/2)
if (window.prediction_tab && !window.prediction_tab.closed) {
window.prediction_tab.postMessage({type: 'heatmap_goto', path: `/?${params.toString()}`})
Expand Down

0 comments on commit 45cef42

Please sign in to comment.