enter in textarea handled
This commit is contained in:
@@ -16,7 +16,7 @@ class View:
|
||||
patch(container, self.vdom)
|
||||
|
||||
# this does not work on parent div, so attaching to document here
|
||||
document.addEventListener("keyup", msg(KeyboardPress))
|
||||
document.addEventListener("keydown", msg(KeyboardPress))
|
||||
|
||||
def view(self, model, data_change):
|
||||
self.model = model
|
||||
|
||||
Reference in New Issue
Block a user