This commit is contained in:
syuilo 2018-05-24 09:48:05 +09:00
commit 4727485792
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: {