aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-09-17 11:26:54 -0400
committerbob <bcz@cs.brown.edu>2019-09-17 11:26:54 -0400
commit5b09512cf4aa2319e498a233c16dba93ae83fbda (patch)
tree7a0b831c0ecaab879110955fa92aa438f986cb46 /src/client/views/GlobalKeyHandler.ts
parent624d44ad339d55df66a4ed8bf4b2cb91608efeef (diff)
lots of code cleanup in collectionFreeFormDocumentView and DocumentView
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index f9ee22f61..ba125d6e5 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -166,7 +166,7 @@ export default class KeyManager {
break;
case "o":
let target = SelectionManager.SelectedDocuments()[0];
- target && target.fullScreenClicked();
+ target && CollectionDockingView.Instance && CollectionDockingView.Instance.OpenFullScreen(target)
break;
case "r":
preventDefault = false;