mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Linting fixes
This commit is contained in:
parent
c25a3cf1c1
commit
9c150eec4e
@ -22,7 +22,6 @@ const setConf = function (cnf) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export const setConfig = conf => {
|
||||
setConf(conf)
|
||||
}
|
||||
|
@ -197,9 +197,9 @@ const setClickFun = function (id, functionName) {
|
||||
funs.push(function (element) {
|
||||
const elem = document.querySelector(`[id="${id}"]`)
|
||||
if (elem !== null) {
|
||||
elem.addEventListener("click", function(){
|
||||
window[functionName](id);
|
||||
}, false);
|
||||
elem.addEventListener('click', function () {
|
||||
window[functionName](id)
|
||||
}, false)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user