Skip to content

Commit c258b0a

Browse files
Fix for icon path
1 parent 2c33932 commit c258b0a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/parameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const abilities_cap = {
2121
//Change the translation here, by default English is used, set your own language in translation.user and set translation.user.active to true
2222
//New translation mode
2323
const translation = {
24-
'active': 'FR',
24+
'active': 'EN',
2525
'EN': {
2626
'pages_name':{
2727
'index': 'mcMMO Stats | Home',

resources/js/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,16 +546,16 @@ function addBP(player){
546546
container.href = `user.php?q=${string}`
547547
switch (rank){
548548
case 1:
549-
rank_img.src = '../resources/others/textures/pack/388-0.png'
549+
rank_img.src = '/resources/others/textures/pack/388-0.png'
550550
break
551551
case 2:
552-
rank_img.src = '../resources/others/textures/pack/264-0.png'
552+
rank_img.src = '/resources/others/textures/pack/264-0.png'
553553
break
554554
case 3:
555-
rank_img.src = '../resources/others/textures/pack/266-0.png'
555+
rank_img.src = '/resources/others/textures/pack/266-0.png'
556556
break
557557
case 4:
558-
rank_img.src = '../resources/others/textures/pack/265-0.png'
558+
rank_img.src = '/resources/others/textures/pack/265-0.png'
559559
break
560560
}
561561
container.appendChild(img)

0 commit comments

Comments
 (0)