Fixed docs sample code programming error for DownloadItem
This commit is contained in:
parent
34ee29871b
commit
02c8c58c0b
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ win.webContents.session.on('will-download', function(event, item, webContents) {
|
||||||
console.log("Download is cancelled or interrupted that can't be resumed");
|
console.log("Download is cancelled or interrupted that can't be resumed");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|
Loading…
Reference in a new issue