mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-11 11:29:42 +02:00
Cleanup
This commit is contained in:
@@ -240,7 +240,6 @@ function executeInPage(data) {
|
||||
|
||||
document.body.appendChild(sc)
|
||||
}else{
|
||||
console.log('NO gantt config');
|
||||
sc = document.createElement("script")
|
||||
scContent = document.createTextNode('mermaid.ganttConfig = {useWidth:1200};')
|
||||
sc.appendChild(scContent)
|
||||
@@ -256,7 +255,5 @@ function executeInPage(data) {
|
||||
svg = document.querySelector('svg')
|
||||
svgValue = xmlSerializer.serializeToString(svg)
|
||||
|
||||
//console.log(document.body.outerHTML);
|
||||
|
||||
return svgValue
|
||||
}
|
||||
|
Reference in New Issue
Block a user