mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Revert "fix(equipment): hack partially addressing #11015"
This reverts commit 0be1f3eb7c.
This commit is contained in:
@@ -189,16 +189,6 @@
|
||||
hideDialog () {
|
||||
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) {
|
||||
return {
|
||||
[gear.type]: gear.key,
|
||||
|
||||
Reference in New Issue
Block a user