diff options
author | Geireann <60007097+geireann@users.noreply.github.com> | 2022-02-15 13:33:35 -0500 |
---|---|---|
committer | Geireann <60007097+geireann@users.noreply.github.com> | 2022-02-15 13:33:35 -0500 |
commit | 3405850fb254eb3de71e3c77f3f998edafe6a81f (patch) | |
tree | 9e488da3a2da3c62896c4f6deb7379aa27c56a15 /src/client/documents/Documents.ts | |
parent | d58b6a077930454cd7b1f6b9c24aa3ac58c0683d (diff) | |
parent | 66fb0e4bbf88a5e9bcb5869dd7c8b8a7714de024 (diff) |
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index ff9ac4c8c..f026d0005 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -1427,7 +1427,7 @@ export namespace DocUtils { function ConvertDMSToDD(degrees: number, minutes: number, seconds: number, direction: string) { var dd = degrees + minutes / 60 + seconds / (60 * 60); - if (direction == "S" || direction == "W") { + if (direction === "S" || direction === "W") { dd = dd * -1; } // Don't do anything for N or E return dd; |