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

View file

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

View file

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