prevent keymaps in the page

This commit is contained in:
Shin'ya Ueoka 2017-10-08 07:41:55 +09:00
parent 30641f1b75
commit ea455059bd
2 changed files with 37 additions and 25 deletions

View file

@ -9,7 +9,8 @@ import messages from './messages';
const store = createStore(reducers);
const followComponent = new FollowComponent(window.document.body, store);
const contentInputComponent = new ContentInputComponent(window, store);
const contentInputComponent =
new ContentInputComponent(window.document.body, store);
store.subscribe(() => {
try {
followComponent.update();