Can enable incognito mode

This commit is contained in:
Pierre HUBERT 2019-02-11 18:47:09 +01:00
parent e01f521192
commit 5567ea7501

View File

@ -44,6 +44,16 @@ module.exports.Get = function(window){
click: () => {
window.webContents.executeJavaScript("ComunicWeb.components.darkTheme.setEnabled(!ComunicWeb.components.darkTheme.isEnabled());");
}
},
//Incognito mode
{
label: "Enable incognito mode",
sublabel: "F6",
click: () => {
window.webContents.executeJavaScript("ComunicWeb.components.incognito.ui.confirmEnable();");
}
}
]
},