This commit is contained in:
syuilo
2018-05-24 09:48:05 +09:00
2 changed files with 2 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ export default Vue.extend({
}, },
beforeDestroy() { beforeDestroy() {
document.documentElement.style.removeProperty('background'); document.documentElement.style.removeProperty('background');
document.documentElement.style.removeProperty('background-color'); // for safari's bug
this.unwatchDarkmode(); this.unwatchDarkmode();
}, },
methods: { methods: {

View File

@@ -37,6 +37,7 @@ export default Vue.extend({
}, },
beforeDestroy() { beforeDestroy() {
document.documentElement.style.removeProperty('background'); document.documentElement.style.removeProperty('background');
document.documentElement.style.removeProperty('background-color'); // for safari's bug
this.unwatchDarkmode(); this.unwatchDarkmode();
}, },
methods: { methods: {