0
0
Fork 0

Add css_var back to the mixin

This commit is contained in:
Oliver-Akins 2020-10-30 23:20:10 -06:00
parent 58a1f46bcd
commit 497efe36ff

View file

@ -33,6 +33,9 @@ Vue.mixin({
},
},
methods: {
css_var(var_name) {
return getComputedStyle(document.documentElement).getPropertyValue(var_name);
},
auth_expired(error = null) {
sessionStorage.removeItem(this.storage_key.token);
window.location.hash = ``;