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)) {