Minor fixes to icon page preview

This commit is contained in:
Andrew Gioia 2017-05-03 13:10:25 -04:00
parent ecda23ec53
commit 484d66fb4f
1 changed files with 3 additions and 1 deletions

View File

@ -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();
});