Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbs committed Sep 11, 2018
1 parent 6374b31 commit af45a47
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/render/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
const interact = document.getElementById('interact');

webview.addEventListener('dom-ready', () => {
if (webview.getURL() === localUrl) {
return;
}
webview.openDevTools();
webview.loadURL(localUrl);
console.log(webview.getURL());
});

Expand Down

0 comments on commit af45a47

Please sign in to comment.