1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00
Files
Boostnote/browser/main/helpers/openExternal.js
2015-10-08 20:40:19 +09:00

7 lines
126 B
JavaScript

var shell = require('shell')
export default function (e) {
shell.openExternal(e.currentTarget.href)
e.preventDefault()
}