mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-01-01 12:26:13 +00:00
Deepsource 2
This commit is contained in:
parent
ec2d1fbe8a
commit
8029fff73e
|
@ -25,8 +25,7 @@ function popUpShow(titleText, subtitleText, bodyContent=null, userActions=null)
|
||||||
if (userActions) {
|
if (userActions) {
|
||||||
// for each user action, add the element
|
// for each user action, add the element
|
||||||
for (let i = 0; i < userActions.length; i++) {
|
for (let i = 0; i < userActions.length; i++) {
|
||||||
let action = userActions[i];
|
actionsSelector.appendChild(userActions[i]);
|
||||||
actionsSelector.appendChild(action);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
actionsSelector.innerHTML = '<button class="btn-block" onclick="popupDissmiss()">Close</button>';
|
actionsSelector.innerHTML = '<button class="btn-block" onclick="popupDissmiss()">Close</button>';
|
||||||
|
|
Loading…
Reference in a new issue