Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
octospacc committed Sep 26, 2024
1 parent dbeb68c commit ec7b3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/MatrixStickerHelper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ <h3>Debug Log</h3>
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;
Expand Down

0 comments on commit ec7b3aa

Please sign in to comment.