From 45cef42009be453d9583ac1b6d05b8de59421978 Mon Sep 17 00:00:00 2001 From: WalshKieran Date: Mon, 5 Feb 2024 19:11:57 +1100 Subject: [PATCH] no longer reset feature dropdown --- docs/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 1e0428f..0c0cf8f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -315,7 +315,8 @@

CRISPRi Volcano Plot Guide

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()}`})