Only listen to its own events in <webview>, fixes #885
This commit is contained in:
parent
654d21100f
commit
11cd301127
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ createGuest = (embedder, params) ->
|
|||
|
||||
# Autosize.
|
||||
guest.on 'size-changed', (_, args...) ->
|
||||
embedder.send "ATOM_SHELL_GUEST_VIEW_INTERNAL_SIZE_CHANGED", args...
|
||||
embedder.send "ATOM_SHELL_GUEST_VIEW_INTERNAL_SIZE_CHANGED-#{guest.viewInstanceId}", args...
|
||||
|
||||
id
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue