Skip to content
Snippets Groups Projects
Commit 3c86a2f3 authored by Stephan Porada's avatar Stephan Porada :speech_balloon:
Browse files

Fix Modal init

parent 61658410
No related branches found
No related tags found
No related merge requests found
...@@ -89,9 +89,9 @@ class ResultsList extends List { ...@@ -89,9 +89,9 @@ class ResultsList extends List {
let modalInit = false; let modalInit = false;
let options; let options;
if (Array.isArray(selector)) { if (Array.isArray(selector)) {
options = selector[1];
selector = selector[0]; selector = selector[0];
modalInit = true; modalInit = true;
options = selector[1];
} }
// Check if the current selector has already been used. // Check if the current selector has already been used.
if (this.knownHTMLElements.has(selector)) { if (this.knownHTMLElements.has(selector)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment