mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-06-12 03:44:09 +00:00
deploy: 5f0168bc67
This commit is contained in:
parent
f7873385aa
commit
eab411219a
157 changed files with 3724 additions and 3724 deletions
|
@ -127,10 +127,10 @@ var variants = {
|
|||
resetVariant: function(){
|
||||
var variantbase = window.localStorage.getItem( 'customvariantbase' );
|
||||
if( variantbase && confirm( 'You have made changes to your custom variant. Are you sure you want to reset all changes?' ) ){
|
||||
this.removeCustomVariantOption();
|
||||
this.changeVariant( variantbase );
|
||||
window.localStorage.removeItem( 'customvariantbase' );
|
||||
window.localStorage.removeItem( 'customvariant' );
|
||||
this.removeCustomVariantOption();
|
||||
this.changeVariant( variantbase );
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue