mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
Fix Modal init
This commit is contained in:
parent
61658410b2
commit
3c86a2f334
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user