Fix wrong type call for window.location.reload

This commit is contained in:
Dariusz Niemczyk 2021-10-15 16:55:32 +02:00 committed by Dariusz Niemczyk
parent 195234a7b5
commit 515a8d2097
2 changed files with 3 additions and 8 deletions

View file

@ -489,10 +489,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
}
reload() {
// we used to remote to the main process to get it to
// reload the webcontents, but in practice this is unnecessary:
// the normal way works fine.
window.location.reload(false);
window.location.reload();
}
private async ipcCall(name: string, ...args: any[]): Promise<any> {