fixing indentation in preloadMain (#574)

This commit is contained in:
VICTOR RAPHAEL BRAGA DE SALES MASCARENHAS
2019-02-19 11:50:45 -03:00
committed by Vishwas Shashidhar
parent 21b97e772d
commit 76812ab854

View File

@@ -86,14 +86,14 @@ const throttledSetIsInMeetingStatus = throttle(1000, function (isInMeeting) {
local.ipcRenderer.on('on-page-load', () => {
snackBar = new SnackBar();
webFrame.setSpellCheckProvider('en-US', true, {
spellCheck (text) {
return !local.ipcRenderer.sendSync(apiName, {
cmd: apiCmds.isMisspelled,
text
});
}
});
webFrame.setSpellCheckProvider('en-US', true, {
spellCheck(text) {
return !local.ipcRenderer.sendSync(apiName, {
cmd: apiCmds.isMisspelled,
text
});
}
});
// only registers main window's preload
if (window.name === 'main') {