mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 02:36:36 +00:00
before applying redux
This commit is contained in:
6
browser/main/helpers/openExternal.js
Normal file
6
browser/main/helpers/openExternal.js
Normal file
@@ -0,0 +1,6 @@
|
||||
var shell = require('shell')
|
||||
|
||||
export default function (e) {
|
||||
shell.openExternal(e.currentTarget.href)
|
||||
e.preventDefault()
|
||||
}
|
||||
Reference in New Issue
Block a user