@bbki.ng/site 5.5.26 → 5.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/plugins/xwy/index.ts +3 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/plugins/xwy/index.ts
CHANGED
|
@@ -63,9 +63,10 @@ class XwyPlugin implements IPlugin {
|
|
|
63
63
|
|
|
64
64
|
private initFontLoadingListener() {
|
|
65
65
|
// listen font loading status and add class to body for styling
|
|
66
|
-
|
|
66
|
+
console.log('Initializing font loading listener');
|
|
67
|
+
document.body.classList.add(LOADING_CLASS);
|
|
67
68
|
document.fonts.ready.then(() => {
|
|
68
|
-
document.
|
|
69
|
+
document.body.classList.remove(LOADING_CLASS);
|
|
69
70
|
});
|
|
70
71
|
}
|
|
71
72
|
|