Call print on webContents
This commit is contained in:
parent
fa7f084625
commit
84f6015037
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ var BrowserWindowProxy = (function () {
|
|||
}
|
||||
|
||||
BrowserWindowProxy.prototype.print = function () {
|
||||
return ipcRenderer.send('ELECTRON_GUEST_WINDOW_MANAGER_WINDOW_METHOD', this.guestId, 'print')
|
||||
return ipcRenderer.send('ELECTRON_GUEST_WINDOW_MANAGER_WEB_CONTENTS_METHOD', this.guestId, 'print')
|
||||
}
|
||||
|
||||
Object.defineProperty(BrowserWindowProxy.prototype, 'location', {
|
||||
|
|
Loading…
Add table
Reference in a new issue