Prevent the importFromURL button from submitting the form.

This commit is contained in:
Jonathan Bernard 2020-12-11 15:33:18 -06:00
parent 3b62968dd7
commit 8d265c400c

View File

@ -272,6 +272,8 @@
};
FC.importCardSetFromURL = function(ev) {
ev.preventDefault();
fetch(FC.$('input[name=importURL]').value)
.then(resp => resp.json())
.then(set => {