diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index 752f6011e..74f63193b 100644 --- a/app/src/protyle/index.ts +++ b/app/src/protyle/index.ts @@ -94,7 +94,7 @@ export class Protyle { reloadProtyle(this.protyle, false); } break; - case "addLoadding": + case "addLoading": if (data.data === this.protyle.block.rootID) { addLoading(this.protyle, data.msg); } diff --git a/kernel/util/websocket.go b/kernel/util/websocket.go index bd95726ef..68dfdaac9 100644 --- a/kernel/util/websocket.go +++ b/kernel/util/websocket.go @@ -219,7 +219,7 @@ func PushProtyleReload(rootID string) { } func PushProtyleLoading(rootID, msg string) { - BroadcastByType("protyle", "addLoadding", 0, msg, rootID) + BroadcastByType("protyle", "addLoading", 0, msg, rootID) } func PushDownloadProgress(id string, percent float32) {