Drop mac breaking scripts.

This commit is contained in:
FallenGravity
2019-10-15 16:39:28 +02:00
parent 7adccb1e73
commit 49acb68afa
4 changed files with 0 additions and 313 deletions

View File

@@ -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)
}
})
}
}