diff options
author | bobzel <zzzman@gmail.com> | 2020-07-02 14:43:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 14:43:04 -0400 |
commit | da0b78bb21d29cb861e1b684023b991b9f95e62b (patch) | |
tree | 9e37ba065eb90ad7e716d41bd2f85ecc3b003dc7 /src/client/views/MainView.tsx | |
parent | d8fe61a05e676fb9e44a191b6090d3274963e836 (diff) | |
parent | 59868be3182e049297f7f86da368cf2733870fb2 (diff) |
Merge pull request #426 from browngraphicslab/mobile_revision_direct
Dash Mobile
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index f6db1af66..fab1798e2 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -99,7 +99,7 @@ export class MainView extends React.Component { window.removeEventListener("keydown", KeyManager.Instance.handle); window.addEventListener("keydown", KeyManager.Instance.handle); window.addEventListener("paste", KeyManager.Instance.paste as any); - document.addEventListener("dash", (e: any) => { // event used by chrome plugin to tell Dash which document to focus on + document.addEventListener("dash", (e: any) => { // event used by chrome plugin to tell Dash which document to focus on const id = FormattedTextBox.GetDocFromUrl(e.detail); DocServer.GetRefField(id).then(doc => { if (doc instanceof Doc) { |