diff options
| author | andrewdkim <adkim414@gmail.com> | 2019-09-17 18:01:36 -0400 |
|---|---|---|
| committer | andrewdkim <adkim414@gmail.com> | 2019-09-17 18:01:36 -0400 |
| commit | 53c4f6ddad5534101d7a7482332cddb02ba99c21 (patch) | |
| tree | 8433f319e5ff8de1db9f22599f9ea33b3d783257 /src/new_fields | |
| parent | cd052ac6bd318a0569c66ca1fba684b7dbdaaca9 (diff) | |
zoom, contextmenu fix
Diffstat (limited to 'src/new_fields')
| -rw-r--r-- | src/new_fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts index e3b5f78a7..01a064b69 100644 --- a/src/new_fields/Doc.ts +++ b/src/new_fields/Doc.ts @@ -334,7 +334,7 @@ export namespace Doc { } export function IndexOf(toFind: Doc, list: Doc[]) { - return list.findIndex(doc => doc === toFind || Doc.AreProtosEqual(doc, toFind)) + return list.findIndex(doc => doc === toFind || Doc.AreProtosEqual(doc, toFind)); } export function AddDocToList(target: Doc, key: string, doc: Doc, relativeTo?: Doc, before?: boolean, first?: boolean, allowDuplicates?: boolean, reversed?: boolean) { if (target[key] === undefined) { |
