aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/settings_modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/settings_modal/settings_modal.js')
-rw-r--r--src/components/settings_modal/settings_modal.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/components/settings_modal/settings_modal.js b/src/components/settings_modal/settings_modal.js
index 4f54d6a3..f0d49c91 100644
--- a/src/components/settings_modal/settings_modal.js
+++ b/src/components/settings_modal/settings_modal.js
@@ -36,18 +36,6 @@ const SettingsModal = {
modalPeeked () {
return this.$store.state.interface.settingsModalState === 'minimized'
}
- },
- watch: {
- // This is the only way to access the <html> element.
- modalActivated (newValue) {
- let html = document.querySelector('html')
- if (!html) return
- if (newValue) {
- html.classList.add('settings-modal-layout')
- } else {
- html.classList.remove('settings-modal-layout')
- }
- }
}
}