mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
variant: fix generator after #795
This commit is contained in:
parent
f76f75b57b
commit
17b38325c4
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ var variants = {
|
||||||
graphs.forEach( function( e ){ e.innerHTML = graphDefinition; });
|
graphs.forEach( function( e ){ e.innerHTML = graphDefinition; });
|
||||||
|
|
||||||
var interval_id = setInterval( function(){
|
var interval_id = setInterval( function(){
|
||||||
if( document.querySelectorAll( vargenerator + '.mermaid > svg' ).length ){
|
if( document.querySelectorAll( vargenerator + ' .mermaid > svg' ).length ){
|
||||||
clearInterval( interval_id );
|
clearInterval( interval_id );
|
||||||
this.styleGraph();
|
this.styleGraph();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue