mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 15:56:10 +08:00
upgrade(electron): 0.28.1. Improvements to webview, clipboard on linux
This commit is contained in:
parent
7b9f89bc5d
commit
42819e4d71
|
@ -34,8 +34,10 @@ class ContainerView extends React.Component
|
|||
node = React.findDOMNode(webview)
|
||||
if node.hasListeners is undefined
|
||||
# Remove as soon as possible. Initial src is not correctly loaded
|
||||
# on webview, and this fixes it. Electron 0.26.0
|
||||
setTimeout -> node.src = node.src
|
||||
# on webview, and this fixes it. Electron 0.26.0. (Still in 0.28.1)
|
||||
setTimeout ->
|
||||
node.src = node.src
|
||||
,10
|
||||
node.addEventListener 'new-window', (e) ->
|
||||
require('shell').openExternal(e.url)
|
||||
node.addEventListener 'did-start-loading', (e) ->
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"bugs": {
|
||||
"url": "https://github.com/nylas/edgehill/issues"
|
||||
},
|
||||
"electronVersion": "0.27.2",
|
||||
"electronVersion": "0.28.1",
|
||||
"dependencies": {
|
||||
"asar": "^0.5.0",
|
||||
"6to5-core": "^3.5",
|
||||
|
|
Loading…
Reference in a new issue