From 484d66fb4f0961824c69654050b257ea0261f3ff Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Wed, 3 May 2017 13:10:25 -0400 Subject: [PATCH] Minor fixes to icon page preview --- icons.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/icons.html b/icons.html index ee254ce..07c23e6 100644 --- a/icons.html +++ b/icons.html @@ -784,7 +784,7 @@ $( '#iconPreview i' ).removeClass().addClass( 'ss ss-fw ss-common ss-'+icon ); $( '#setName' ).html( name ); $( '#setCode' ).html( '('+icon+')' ); - $( '#metaInfo .html span' ).html( '.ss-'+icon ); + $( '#metaInfo .html span' ).html( 'ss-'+icon ); $( '#metaInfo .class span' ).html( classname ); $( '#metaInfo .unicode span' ).html( unicode ); $( '#metaInfo .added span' ).html( added ); @@ -816,6 +816,8 @@ $( '#closeModal' ).on( 'click', function( e ) { $( '#overlay' ).hide(); $( '#toggleGradient' ).prop( 'checked', false ); + $( '#toggleRarity a.active' ).removeClass( 'active' ); + $( '#toggleRarity a[data-rarity="common"]' ).addClass( 'active' ); $( '#modal' ).hide(); });