mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Linting fixes
This commit is contained in:
@@ -22,7 +22,6 @@ const setConf = function (cnf) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export const setConfig = conf => {
|
export const setConfig = conf => {
|
||||||
setConf(conf)
|
setConf(conf)
|
||||||
}
|
}
|
||||||
|
@@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user