Relative paths
This commit is contained in:
@@ -69,7 +69,7 @@ var toe = new Vue({
|
|||||||
function getData(fileindex) {
|
function getData(fileindex) {
|
||||||
var nextfile = fileindex + 1;
|
var nextfile = fileindex + 1;
|
||||||
|
|
||||||
$.get('/toe/' + fileindex + '.json', function (data) {
|
$.get('../../toe/' + fileindex + '.json', function (data) {
|
||||||
var matches = data.results[0].result.response.results;
|
var matches = data.results[0].result.response.results;
|
||||||
|
|
||||||
for (match in matches) {
|
for (match in matches) {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
<li v-for="titan in titans">
|
<li v-for="titan in titans">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" :value="titan" v-model="selectedTitans" />
|
<input type="checkbox" :value="titan" v-model="selectedTitans" />
|
||||||
<img :src="'/assets/img/Titans/'+ titan + '.png'" />
|
<img :src="'../assets/img/Titans/'+ titan + '.png'" />
|
||||||
</label>
|
</label>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -63,13 +63,13 @@
|
|||||||
<img
|
<img
|
||||||
v-for="(titan, index) in match.defBattle.attackers"
|
v-for="(titan, index) in match.defBattle.attackers"
|
||||||
:title="'Totem level ' + titan.elementSpiritLevel + ', ' + titan.elementSpiritStar + '*'"
|
:title="'Totem level ' + titan.elementSpiritLevel + ', ' + titan.elementSpiritStar + '*'"
|
||||||
:src="'/assets/img/Titans/'+ titan.id + '.png'" />
|
:src="'../assets/img/Titans/'+ titan.id + '.png'" />
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<img
|
<img
|
||||||
v-for="titan in match.defBattle.defenders[0]"
|
v-for="titan in match.defBattle.defenders[0]"
|
||||||
:src="'/assets/img/Titans/'+ titan.id + '.png'" />
|
:src="'../assets/img/Titans/'+ titan.id + '.png'" />
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
2
assets/js/main.min.js
vendored
2
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user