diff --git a/static/js/variant.js b/static/js/variant.js index 5fb4472df2..9cbfb1bf2c 100644 --- a/static/js/variant.js +++ b/static/js/variant.js @@ -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 ); } }