diff options
author | bobzel <zzzman@gmail.com> | 2020-08-03 09:24:24 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-03 09:24:24 -0400 |
commit | 49b227417e95871b1302a9f93a32b8b7397bb8f4 (patch) | |
tree | 6a7f74d67f022faba2edc02d7ccfa916d4e8e36b /src/fields/Doc.ts | |
parent | 3fdeb3a3018b8ce8c9725bc83d670f15d561ed8a (diff) |
fixed richtextBar icons. fixed run-time warnings
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 6d01785aa..f4505d475 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -409,7 +409,7 @@ export namespace Doc { // and returns the document who's proto is undefined or whose proto is marked as a base prototype ('isPrototype'). export function GetProto(doc: Doc): Doc { if (doc instanceof Promise) { - console.log("GetProto: error: got Promise insead of Doc"); + console.log("GetProto: warning: got Promise insead of Doc"); } const proto = doc && (Doc.GetT(doc, "isPrototype", "boolean", true) ? doc : (doc.proto || doc)); return proto === doc ? proto : Doc.GetProto(proto); |