mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 04:54:23 +00:00
lots more progress on apple music integration
This commit is contained in:
@@ -98,6 +98,16 @@ createApp( {
|
||||
|
||||
source.onopen = () => {
|
||||
this.hasLoaded = true;
|
||||
if ( document.fonts.status === 'loaded' ) {
|
||||
document.getElementById( 'loading' ).classList.remove( 'loading' );
|
||||
document.getElementById( 'app' ).classList.add( 'loaded' );
|
||||
} else {
|
||||
document.fonts.onloadingdone = () => {
|
||||
document.getElementById( 'loading' ).classList.remove( 'loading' );
|
||||
document.getElementById( 'app' ).classList.add( 'loaded' );
|
||||
};
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
let self = this;
|
||||
|
||||
Reference in New Issue
Block a user