Fix error and reinitialize getcss function (reopens #14)
This commit is contained in:
parent
559552f218
commit
bcbe51e9a7
@ -178,9 +178,9 @@ module.exports = {
|
||||
})
|
||||
}
|
||||
},
|
||||
// getCSS: (el, prop, b = false) {
|
||||
// return window.getComputedStyle(el, null).getPropertyValue(prop);
|
||||
// },
|
||||
getCSS: (el, prop, b = false) => {
|
||||
return window.getComputedStyle(el, null).getPropertyValue(prop);
|
||||
},
|
||||
init: (args = {}) => {
|
||||
const url = getURLVars();
|
||||
font.size = parseFloat(getComputedStyle(document.documentElement).fontSize.replace("px",""));
|
||||
|
Loading…
Reference in New Issue
Block a user