Skip to content

Commit

Permalink
remove deck name whitespace parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewthe2 committed May 19, 2021
1 parent 7cb6584 commit 5888ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ankisettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function initDecks() {
if (deckNames.length > 0) {
deckNames.forEach(deckName => {
const deckOption = document.createElement("option");
deckOption.value = deckName.replace(' ', '_');
deckOption.value = deckName;
deckSelector.append(deckOption);
});
}
Expand Down

0 comments on commit 5888ed6

Please sign in to comment.