Linting fixes

This commit is contained in:
knsv
2019-07-21 02:14:49 -07:00
parent c25a3cf1c1
commit 9c150eec4e
2 changed files with 3 additions and 4 deletions

View File

@@ -22,7 +22,6 @@ const setConf = function (cnf) {
} }
} }
export const setConfig = conf => { export const setConfig = conf => {
setConf(conf) setConf(conf)
} }

View File

@@ -197,9 +197,9 @@ const setClickFun = function (id, functionName) {
funs.push(function (element) { funs.push(function (element) {
const elem = document.querySelector(`[id="${id}"]`) const elem = document.querySelector(`[id="${id}"]`)
if (elem !== null) { if (elem !== null) {
elem.addEventListener("click", function(){ elem.addEventListener('click', function () {
window[functionName](id); window[functionName](id)
}, false); }, false)
} }
}) })
} }