diff options
Diffstat (limited to 'src/deck.js')
| -rw-r--r-- | src/deck.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/deck.js b/src/deck.js index 7b01103..7102986 100644 --- a/src/deck.js +++ b/src/deck.js @@ -212,12 +212,10 @@ function initDeck() { } function setFormat(newFormat) { - if (newFormat === 'none' || newFormat === 'ocg') { - localStorage.setItem('format', newFormat); - formatState = newFormat; - format.set(newFormat); - setDeck(deckState); - } + localStorage.setItem('format', newFormat); + formatState = newFormat; + format.set(newFormat); + setDeck(deckState); } export { |
