mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
variant: fix standalone colors in generator #188
This commit is contained in:
parent
88a7b03b4f
commit
864d1d83ab
1 changed files with 3 additions and 1 deletions
|
@ -127,6 +127,9 @@ function generateGraph(){
|
|||
if( e.fallback ){
|
||||
g_edges += ' ' + e.fallback+':::'+e.fallback+' --> '+e.name+':::'+e.name+';\n';
|
||||
}
|
||||
else{
|
||||
g_edges += ' ' +e.name+':::'+e.name+';\n';
|
||||
}
|
||||
g_handler += ' click '+e.name+' changeColor\n';
|
||||
});
|
||||
|
||||
|
@ -163,7 +166,6 @@ function generateGraph(){
|
|||
g_groups[ 'colored boxes' ].reduce( function( a, e ){ return a + ' ' + e + '\n'; }, '' ) +
|
||||
' end\n' +
|
||||
' end\n' +
|
||||
' class MENU-SECTIONS-BG-color menu\n' +
|
||||
g_edges +
|
||||
g_handler;
|
||||
|
||||
|
|
Loading…
Reference in a new issue