Make autoresize follow Chrome's behavior

This commit is contained in:
Cheng Zhao 2014-10-25 15:48:59 +08:00
parent 69bcc8e831
commit 04f1860bf5
3 changed files with 12 additions and 2 deletions

View file

@ -382,7 +382,7 @@ class WebView
@attachWindow guestInstanceId, false
@pendingGuestCreation = true
@dispatchEvent = (webViewEvent) ->
dispatchEvent: (webViewEvent) ->
@webviewNode.dispatchEvent webViewEvent
# Adds an 'on<event>' property on the webview, which can be used to set/unset