From 303addae422f7d3cbca9ea607000f34953542766 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Wed, 15 Aug 2018 06:41:44 +0300 Subject: [PATCH] Fix badges and add bd-v2 to body --- client/src/ui/bdui.js | 1 + client/src/ui/components/bd/BdBadge.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/ui/bdui.js b/client/src/ui/bdui.js index 414993f0..4fd07eb2 100644 --- a/client/src/ui/bdui.js +++ b/client/src/ui/bdui.js @@ -17,6 +17,7 @@ import { BdSettingsWrapper, BdModals, BdToasts } from './components'; export default class { static initUiEvents() { + document.body.classList.add('bd-v2'); const hideButtonSetting = Settings.getSetting('ui', 'default', 'hide-button'); hideButtonSetting.on('setting-updated', event => { if (event.value) document.body.classList.add('bd-hideButton'); diff --git a/client/src/ui/components/bd/BdBadge.vue b/client/src/ui/components/bd/BdBadge.vue index 26c6611a..d6bd4fbb 100644 --- a/client/src/ui/components/bd/BdBadge.vue +++ b/client/src/ui/components/bd/BdBadge.vue @@ -9,7 +9,7 @@ */