mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Revert "fix(equipment): hack partially addressing #11015"
This reverts commit 0be1f3eb7c.
This commit is contained in:
@@ -189,16 +189,6 @@
|
|||||||
hideDialog () {
|
hideDialog () {
|
||||||
this.$root.$emit('bv::hide::modal', 'equipgear-modal');
|
this.$root.$emit('bv::hide::modal', 'equipgear-modal');
|
||||||
},
|
},
|
||||||
fixDocBody () {
|
|
||||||
document.body.classList.remove('modal-open');
|
|
||||||
if (document.body.getAttribute('data-modal-open-count') <= 1) {
|
|
||||||
document.body.removeAttribute('data-modal-open-count');
|
|
||||||
} else {
|
|
||||||
document.body.setAttribute('data-modal-open-count', document.body.getAttribute('data-modal-open-count') - 1);
|
|
||||||
}
|
|
||||||
document.body.removeAttribute('data-padding-right');
|
|
||||||
document.body.style.removeProperty('padding-right');
|
|
||||||
},
|
|
||||||
memberOverrideAvatarGear (gear) {
|
memberOverrideAvatarGear (gear) {
|
||||||
return {
|
return {
|
||||||
[gear.type]: gear.key,
|
[gear.type]: gear.key,
|
||||||
|
|||||||
Reference in New Issue
Block a user