Remove the :evil: loop.
This commit is contained in:
parent
598f3cdcd9
commit
9c52af8253
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@
|
||||||
var ipc = require('ipc');
|
var ipc = require('ipc');
|
||||||
|
|
||||||
window.addEventListener('contextmenu', function (e) {
|
window.addEventListener('contextmenu', function (e) {
|
||||||
while(1) {}
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
ipc.send('menu');
|
ipc.send('menu');
|
||||||
}, false);
|
}, false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue