diff --git a/src/js/core/_core.js b/src/js/core/_core.js index 9f785b0..a33451e 100644 --- a/src/js/core/_core.js +++ b/src/js/core/_core.js @@ -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",""));