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) {
|
getCSS: (el, prop, b = false) => {
|
||||||
// return window.getComputedStyle(el, null).getPropertyValue(prop);
|
return window.getComputedStyle(el, null).getPropertyValue(prop);
|
||||||
// },
|
},
|
||||||
init: (args = {}) => {
|
init: (args = {}) => {
|
||||||
const url = getURLVars();
|
const url = getURLVars();
|
||||||
font.size = parseFloat(getComputedStyle(document.documentElement).fontSize.replace("px",""));
|
font.size = parseFloat(getComputedStyle(document.documentElement).fontSize.replace("px",""));
|
||||||
|
Loading…
Reference in New Issue
Block a user