variant: fix generator after #795

This commit is contained in:
Sören Weber 2024-03-16 14:14:01 +01:00
parent f76f75b57b
commit 17b38325c4
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -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();
} }