We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8786054 commit 843ff17Copy full SHA for 843ff17
src/js/moveset_import.js
@@ -303,8 +303,11 @@ function addSets(pokes, name) {
303
}
304
305
306
- if (addedpokes > 0) {
307
- alert("Successfully imported " + addedpokes + " set(s)");
+ if (addedpokes == 1) {
+ alert("Successfully imported 1 set");
308
+ $(allPokemon("#importedSetsOptions")).css("display", "inline");
309
+ } else if (addedpokes > 1) {
310
+ alert("Successfully imported " + addedpokes + " sets");
311
$(allPokemon("#importedSetsOptions")).css("display", "inline");
312
} else {
313
alert("No sets imported, please check your syntax and try again");
0 commit comments