Commit b06f64922ca11ad201840f141efa58a53d01664f

Authored by Andrew Buss
1 parent 1d616f4a4d

fix pullUnpull for new flashcard magics

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

scripts/FlashcardFactory.js View file @ b06f649
... ... @@ -30,7 +30,7 @@
30 30 return !(typeof Deck.contains(this.id) === 'undefined');
31 31 };
32 32 Flashcard.prototype.pullUnpull = function() {
33   - if (Deck[this.id]) this.unpull();
  33 + if (this.isInDeck()) this.unpull();
34 34 else this.pull();
35 35 };
36 36 Flashcard.prototype.pull = function () {
styles/flashy.css View file @ b06f649
... ... @@ -48,7 +48,7 @@
48 48 }
49 49  
50 50 .card.flashy.in-deck {
51   - border: 3px solid rgba(0, 184, 76, 0.4);
  51 + /*border: 3px solid rgba(0, 184, 76, 0.4);*/
52 52 }
53 53  
54 54 .card.flashy {