allow the main process to dispatch any event to the renderer
This commit is contained in:
@@ -37,5 +37,5 @@ ipc.init()
|
||||
|
||||
function onOpen (e, torrentId) {
|
||||
e.preventDefault()
|
||||
windows.main.send('addTorrent', torrentId)
|
||||
windows.main.send('dispatch', 'addTorrent', torrentId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user