mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
variant: fix occasional fail when resetting generator #208
This commit is contained in:
parent
b895d0386b
commit
eab101eace
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ var variants = {
|
|||
window.localStorage.removeItem( 'customvariantbase' );
|
||||
window.localStorage.removeItem( 'customvariant' );
|
||||
this.removeCustomVariantOption();
|
||||
if( this.getVariant() == variantbase ){
|
||||
if( this.getVariant() == this.customvariantname ){
|
||||
this.changeVariant( variantbase );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue