mirror of
https://github.com/electron/electron.git
synced 2026-01-15 02:18:18 -05:00
Remove the :evil: loop.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
var ipc = require('ipc');
|
||||
|
||||
window.addEventListener('contextmenu', function (e) {
|
||||
while(1) {}
|
||||
e.preventDefault();
|
||||
ipc.send('menu');
|
||||
}, false);
|
||||
|
||||
Reference in New Issue
Block a user