mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
fixing indentation in preloadMain (#574)
This commit is contained in:
committed by
Vishwas Shashidhar
parent
21b97e772d
commit
76812ab854
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user