mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
WIP(faq): hack background to white
This commit is contained in:
@@ -469,6 +469,7 @@ export default {
|
||||
this.$store.dispatch('common:setTitle', {
|
||||
subSection: this.$t('chat-sunset-faq'),
|
||||
});
|
||||
document.body.style.background = '#ffffff';
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -513,4 +513,10 @@ router.beforeEach(async (to, from, next) => {
|
||||
return next();
|
||||
});
|
||||
|
||||
router.afterEach((to, from) => {
|
||||
if (from.name === 'chatSunsetFaq') {
|
||||
document.body.style.background = '#f9f9f9';
|
||||
}
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user