mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 08:57:15 +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( 'customvariantbase' );
|
||||||
window.localStorage.removeItem( 'customvariant' );
|
window.localStorage.removeItem( 'customvariant' );
|
||||||
this.removeCustomVariantOption();
|
this.removeCustomVariantOption();
|
||||||
if( this.getVariant() == variantbase ){
|
if( this.getVariant() == this.customvariantname ){
|
||||||
this.changeVariant( variantbase );
|
this.changeVariant( variantbase );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue