Fix super in arrow funcs

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-26 10:04:49 +01:00
parent b4284b4c68
commit 3ad3c3ca0a
3 changed files with 15 additions and 8 deletions

View file

@ -154,7 +154,7 @@ export default class WebPlatform extends VectorBasePlatform {
});
};
startUpdateCheck = () => {
startUpdateCheck() {
if (this.showUpdateCheck) return;
super.startUpdateCheck();
this.pollForUpdate().then((updateState) => {
@ -165,7 +165,7 @@ export default class WebPlatform extends VectorBasePlatform {
value: updateState,
});
});
};
}
installUpdate() {
window.location.reload(true);