TheDesk Miria (17.0.2)

This commit is contained in:
Cutls
2019-02-28 02:02:23 +09:00
parent 560494467b
commit 5134dd274b
16 changed files with 78 additions and 19 deletions

View File

@@ -172,4 +172,12 @@ function opendev(){
keyCode: '2'
});
*/
}
}
var webview = document.getElementById('webview');
const {
shell
} = require('electron');
webview.addEventListener('new-window', function(e) {
shell.openExternal(e.url);
});

View File

@@ -316,4 +316,4 @@ function tjDeckStart() {
if (document.querySelector(".js-app-columns")) tjDeckStart();
else var timer = setInterval(function () {
document.querySelector(".js-app-columns") ? (tjDeckStart(), clearInterval(timer)) : console.log("まだロード中")
}, 500);
}, 500);