forked from rDrama/rDrama
stop vicious assault on the eyes
parent
5bcf642a05
commit
fb268032e5
|
@ -6867,10 +6867,6 @@ div.markdown {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.award-owned * {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hole-banner-update-section .hole-settings-subsection {
|
.hole-banner-update-section .hole-settings-subsection {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -183,11 +183,11 @@ function giveaward(t) {
|
||||||
|
|
||||||
let ownedblock = document.getElementById(`${kind}-owned-block`)
|
let ownedblock = document.getElementById(`${kind}-owned-block`)
|
||||||
if (ownednum > 0) {
|
if (ownednum > 0) {
|
||||||
ownedblock.innerHTML = `<span>${ownednum} owned</span>`;
|
ownedblock.textContent = `${ownednum} owned`;
|
||||||
document.getElementById('award_price').textContent = `${ownednum} owned`;
|
document.getElementById('award_price').textContent = `${ownednum} owned`;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ownedblock.innerHTML = `${global_price} <img loading="lazy" alt="coins" class="mr-1 ml-1 award-currency" src="${SITE_FULL_IMAGES}/i/rDrama/coins.webp?x=6">/<img loading="lazy" alt="marseybux" class="mr-1 ml-1 award-currency" src="${SITE_FULL_IMAGES}/i/marseybux.webp?x=6">`
|
ownedblock.textContent = `Price: ${global_price}`
|
||||||
document.getElementById('award_price').textContent = `Price: ${global_price} coins/marseybux`;
|
document.getElementById('award_price').textContent = `Price: ${global_price} coins/marseybux`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
<span id="{{award.kind}}-owned" class="d-none">{{award.owned}}</span>
|
<span id="{{award.kind}}-owned" class="d-none">{{award.owned}}</span>
|
||||||
<div id="{{award.kind}}-owned-block" class="text-muted award-owned">
|
<div id="{{award.kind}}-owned-block" class="text-muted award-owned">
|
||||||
{% if award.owned %}
|
{% if award.owned %}
|
||||||
<span>{{award.owned}} owned</span>
|
{{award.owned}} owned
|
||||||
{% else %}
|
{% else %}
|
||||||
<span>{{price}}</span> <img loading="lazy" alt="coins" class="mr-1 ml-1 award-currency" src="{{SITE_FULL_IMAGES}}/i/rDrama/coins.webp?x=6">/<img loading="lazy" alt="marseybux" class="mr-1 ml-1 award-currency" src="{{SITE_FULL_IMAGES}}/i/marseybux.webp?x=6">
|
Price: {{price}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue