1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-10-09 07:39:08 +00:00

load cards

This commit is contained in:
devfake
2015-06-24 15:21:17 +02:00
parent fe0aeb33f4
commit 2c7542df2b
3 changed files with 9 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ module.exports = {
leaders: [],
leader: null,
factionFilter: 'Northern Realm'
factionFilter: 'northern_realm'
}
},
@@ -23,6 +23,7 @@ module.exports = {
methods: {
changeDeck: function(deck) {
// todo: load animation
$('.all-cards').addClass('remove');
this.factionFilter = deck;
$('.all-cards').scrollTop(0);