1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00

fix image for IE

This commit is contained in:
devfake 2015-06-24 09:28:31 +02:00
parent ddd168b2dd
commit 3a40824fcc
2 changed files with 1 additions and 10 deletions

View File

@ -20,16 +20,9 @@ module.exports = {
$.map(deck, (n, i) => {
if(i == 'northern_realm') {
for(var m in n) {
//console.log(this.cards[m].type);
this.deck.push(this.cards[m]);
}
}
});
},
filters: {
leader: function(deck) {
//return deck.type == 3 ? deck : 'ne';
}
}
};

View File

@ -7,7 +7,7 @@
<div class="card-wrap" v-repeat="card: cards">
<div class="bla ani"></div>
<div class="card-img card" style="background-image: url(http://80.240.132.120/gwent/assets/cards/{{ card.img }}.png)"></div>
<div class="card-img card" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + card.img + '.png)'"></div>
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
@ -19,8 +19,6 @@
<!--div class="line"></div-->
<p>{{ leader.name }}</p>
<style>
.container-content {
padding: 0;