mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +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 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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user