diff options
author | bobzel <zzzman@gmail.com> | 2020-08-03 11:42:34 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-03 11:42:34 -0400 |
commit | 4758868d0d24f91f95c9396a4135fb6319814aca (patch) | |
tree | a595ed129468fa7a7c238e345b0d80b8b56358d5 /src/client/views/MainView.tsx | |
parent | 4df8465c58542064ea29bb1047e9477d2f7b048a (diff) |
fix for resetting sidebar buttons on load
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 1589ac7e0..0bfbc41ca 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -445,7 +445,6 @@ export class MainView extends React.Component { } @computed get menuPanel() { - setTimeout(() => DocListCast((Doc.UserDoc().menuStack as Doc).data).forEach(action(doc => { doc.color = "white"; doc._backgroundColor = ""; })), 1000); return <div className="mainView-menuPanel"> <DocumentView Document={Doc.UserDoc().menuStack as Doc} |