mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-02 22:35:26 +08: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