kopia lustrzana https://github.com/dceejay/electron-node-red
Merge pull request #8 from paulhayes/master
showMap flag was removing the wrong item from the menupull/9/head
commit
bca451dc61
2
main.js
2
main.js
|
@ -222,7 +222,7 @@ var template = [
|
|||
// ]}
|
||||
];
|
||||
|
||||
if (!showMap) { template[0].submenu.splice(6,1); }
|
||||
if (!showMap) { template[0].submenu.splice(8,1); }
|
||||
|
||||
if (!editable) {
|
||||
template[0].submenu.splice(3,1);
|
||||
|
|
Ładowanie…
Reference in New Issue