aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-01-18 12:10:47 -0500
committerbobzel <zzzman@gmail.com>2022-01-18 12:10:47 -0500
commit66fb0e4bbf88a5e9bcb5869dd7c8b8a7714de024 (patch)
treea73266808167bdfc057cee44bb8d40c31b993edb /src/client/documents/Documents.ts
parent4cdfa6c29701d372064eb4dc612807a27cb19857 (diff)
fixed warnings. display last user to edit db. fixed /activity to show only users with a connected socket. fixed toggle "Overlay" button to toggle its background based on overlay state.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 80c3f9168..df573a377 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -1426,7 +1426,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;