mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Linting fixes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user