mirror of
https://gitlab.com/octospacc/octospacc.gitlab.io
synced 2024-12-21 13:53:59 +01:00
fix
This commit is contained in:
parent
dbeb68c3ba
commit
ec7b3aaa49
@ -600,7 +600,7 @@ TODO:
|
||||
async function CreateNewPack (event, modalButton, packUrl) {
|
||||
let packData = { stickers: [] };
|
||||
// if the user specified an URL, try downloading data from there
|
||||
packUrl ||= modalButton.parentElement.querySelector('input[name="packUrl"]').value;
|
||||
packUrl ||= modalButton.parentElement.parentElement.querySelector('input[name="packUrl"]').value;
|
||||
// TODO: warn if an existing pack is imported from that URL and let the user choose if to continue or cancel
|
||||
//if (packUrl && IsAnyPackImportedFrom(packUrl) && await Spacc.ShowModal({ label: Defaults.Strings.mAlreadyImported, action: () => 'continue', actionCancel: () => 'cancel' }) === 'continue') {
|
||||
// return;
|
||||
|
Loading…
Reference in New Issue
Block a user