diff --git a/flashcards.js b/flashcards.js index 7c94530..b8d8c2c 100644 --- a/flashcards.js +++ b/flashcards.js @@ -272,6 +272,8 @@ }; FC.importCardSetFromURL = function(ev) { + ev.preventDefault(); + fetch(FC.$('input[name=importURL]').value) .then(resp => resp.json()) .then(set => {