aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/current_user_utils.ts
diff options
context:
space:
mode:
authorvellichora <fangrui_tong@brown.edu>2020-02-11 10:49:25 -0500
committervellichora <fangrui_tong@brown.edu>2020-02-11 10:49:25 -0500
commit47b939e9799da2f57047a15113c116d8ba31ce5e (patch)
treeafc284a165a77fd19d009833f0eb215aa8e2396a /src/server/authentication/models/current_user_utils.ts
parentb60154479add51f826afaeff074cf43a6b416831 (diff)
fixed some small errors
Diffstat (limited to 'src/server/authentication/models/current_user_utils.ts')
-rw-r--r--src/server/authentication/models/current_user_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/authentication/models/current_user_utils.ts b/src/server/authentication/models/current_user_utils.ts
index 4a765e8d3..aa9f3649e 100644
--- a/src/server/authentication/models/current_user_utils.ts
+++ b/src/server/authentication/models/current_user_utils.ts
@@ -156,14 +156,14 @@ export class CurrentUserUtils {
static setupMobileUploadDoc(userDoc: Doc) {
const webDoc = Docs.Create.WebDocument("https://www.britannica.com/animal/cat", {
- title: "Upload Images From the Web", chromeStatus: "enabled", lockedPosition: true
+ title: "Upload Images From the Web", _chromeStatus: "enabled", lockedPosition: true
});
const uploadDoc = Docs.Create.StackingDocument([], {
title: "Mobile Upload Collection", backgroundColor: "white", lockedPosition: true
});
console.log(window.innerWidth, screen.width, window.devicePixelRatio);
return Docs.Create.StackingDocument([webDoc, uploadDoc], {
- columnWidth: screen.width - 10, lockedPosition: true, chromeStatus: "disabled", title: "Upload", autoHeight: true, yMargin: 80, backgroundColor: "lightgray"
+ columnWidth: screen.width - 10, lockedPosition: true, _chromeStatus: "disabled", title: "Upload", _autoHeight: true, _yMargin: 80, backgroundColor: "lightgray"
});
}