Fix for broken gitGraph for Mermaid Live Editor
This commit is contained in:
parent
df87ab8818
commit
a6299d8334
|
@ -81,6 +81,7 @@ function parse(text) {
|
|||
log.debug('Type ' + graphType);
|
||||
switch (graphType) {
|
||||
case 'gitGraph':
|
||||
gitGraphAst.clear();
|
||||
parser = gitGraphParser;
|
||||
parser.parser.yy = gitGraphAst;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue