From 3c86a2f3340da0bcc7c7ff05cb48c4812313a807 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Tue, 22 Sep 2020 12:44:54 +0200 Subject: [PATCH] Fix Modal init --- web/app/static/js/modules/corpus_analysis/view/ResultsView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/static/js/modules/corpus_analysis/view/ResultsView.js b/web/app/static/js/modules/corpus_analysis/view/ResultsView.js index fd10e056..92cfde1d 100644 --- a/web/app/static/js/modules/corpus_analysis/view/ResultsView.js +++ b/web/app/static/js/modules/corpus_analysis/view/ResultsView.js @@ -89,9 +89,9 @@ class ResultsList extends List { let modalInit = false; let options; if (Array.isArray(selector)) { + options = selector[1]; selector = selector[0]; modalInit = true; - options = selector[1]; } // Check if the current selector has already been used. if (this.knownHTMLElements.has(selector)) {