mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
fix(core): 🐛 remove leftover console log
This commit is contained in:
parent
56046d7e58
commit
c2aa796b68
|
@ -60,7 +60,6 @@ window.clientPrefs = () => {
|
|||
if ( storage ) {
|
||||
// TODO: Just use array for localStorage
|
||||
storage.split( ',' ).forEach( function ( pref ) {
|
||||
console.log( pref );
|
||||
className = className.replace(
|
||||
// eslint-disable-next-line security/detect-non-literal-regexp
|
||||
new RegExp( '(^| )' + pref.replace( /-clientpref-\w+$|[^\w-]+/g, '' ) + '-clientpref-\\w+( |$)' ),
|
||||
|
@ -86,7 +85,6 @@ window.clientPrefs = () => {
|
|||
className += ` ${ LEGACY_PREFIX }${ matchedKey }`;
|
||||
}
|
||||
}
|
||||
console.log( className );
|
||||
} );
|
||||
document.documentElement.className = className;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue