Drop mac breaking scripts.
This commit is contained in:
@@ -8,13 +8,6 @@ class About {
|
||||
renderAbout() {
|
||||
EthoMainGUI.renderTemplate("about.html", {});
|
||||
$(document).trigger("render_about");
|
||||
let shell = require('electron').shell
|
||||
document.addEventListener('click', function(event) {
|
||||
if (event.target.tagName === 'A' && event.target.href.startsWith('http')) {
|
||||
event.preventDefault()
|
||||
shell.openExternal(event.target.href)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user