Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Wait for the paste event to complete before trying to read the results #219

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/hallo.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,10 @@ http://hallojs.org

_checkModified: (event) ->
widget = event.data
widget.setModified() if widget.isModified()
# Wait for the paste event to complete before trying to read the results
setTimeout ->
widget.setModified() if widget.isModified()
, 0

_keys: (event) ->
widget = event.data
Expand Down