mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
minor styling
This commit is contained in:
parent
9296a6b934
commit
e72498fc58
@ -37,13 +37,13 @@ module.exports = {
|
|||||||
methods: {
|
methods: {
|
||||||
changeDeck: function(deck) {
|
changeDeck: function(deck) {
|
||||||
// todo: load animation
|
// todo: load animation
|
||||||
$('.all-cards').addClass('remove');
|
$('.all-cards, .all-deck').addClass('remove');
|
||||||
this.factionFilter = deck;
|
this.factionFilter = deck;
|
||||||
this.initDeck();
|
this.initDeck();
|
||||||
$('.all-cards').scrollTop(0);
|
$('.all-cards, .all-deck').scrollTop(0);
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('.all-cards').removeClass('remove');
|
$('.all-cards, .all-deck').removeClass('remove');
|
||||||
}, 500);
|
}, 500);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user