Fixes #355
This commit is contained in:
+2
-3
@@ -428,8 +428,7 @@ export class Client {
|
||||
);
|
||||
}
|
||||
|
||||
progressTimeout?: number;
|
||||
|
||||
private progressTimeout?: number;
|
||||
showProgress(progressPerc: number) {
|
||||
this.ui.viewDispatch({
|
||||
type: "set-progress",
|
||||
@@ -714,7 +713,7 @@ export class Client {
|
||||
}
|
||||
|
||||
async loadCustomStyles() {
|
||||
if (this.settings?.customStyles) {
|
||||
if (this.settings.customStyles) {
|
||||
try {
|
||||
const { text: stylesText } = await this.space.readPage(
|
||||
this.settings?.customStyles,
|
||||
|
||||
@@ -43,7 +43,7 @@ self.addEventListener("install", (event: any) => {
|
||||
});
|
||||
|
||||
self.addEventListener("activate", (event: any) => {
|
||||
console.log("[Service worker]", "Activating new service worker!!!");
|
||||
console.log("[Service worker]", "Activating new service worker!");
|
||||
event.waitUntil(
|
||||
(async () => {
|
||||
const cacheNames = await caches.keys();
|
||||
|
||||
Reference in New Issue
Block a user