mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-20 05:01:51 +00:00
on Refactor... #3
This commit is contained in:
8
browser/main/Mixins/ExternalLink.js
Normal file
8
browser/main/Mixins/ExternalLink.js
Normal file
@@ -0,0 +1,8 @@
|
||||
var shell = require('shell')
|
||||
|
||||
module.exports = {
|
||||
openExternal: function (e) {
|
||||
shell.openExternal(e.currentTarget.href)
|
||||
e.preventDefault()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user