1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19: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) => { $.map(deck, (n, i) => {
if(i == 'northern_realm') { if(i == 'northern_realm') {
for(var m in n) { for(var m in n) {
//console.log(this.cards[m].type);
this.deck.push(this.cards[m]); 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="card-wrap" v-repeat="card: cards">
<div class="bla ani"></div> <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="shadow"></div>
<div class="overlay-card"></div> <div class="overlay-card"></div>
</div> </div>
@ -19,8 +19,6 @@
<!--div class="line"></div--> <!--div class="line"></div-->
<p>{{ leader.name }}</p>
<style> <style>
.container-content { .container-content {
padding: 0; padding: 0;