mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
8 lines
163 B
JavaScript
8 lines
163 B
JavaScript
const electron = require('electron')
|
|
const shell = electron.shell
|
|
|
|
export default function (e) {
|
|
shell.openExternal(e.currentTarget.href)
|
|
e.preventDefault()
|
|
}
|