= 'dark'; } if( tieSkin != null && tieSkin != htmlSkin ){ html.add('tie-skin-inverted'); var tieSkinInverted = true; } if( tieSkin == 'dark' ){ html.add('dark-skin'); } else if( tieSkin == 'light' ){ html.remove( 'dark-skin' ); } } catch(e) { console.log( e ) }