all: catch some undef errors

This commit is contained in:
jean-emmanuel 2025-09-17 09:19:11 +02:00
parent 4dbc572ea1
commit f5091b9267
6 changed files with 9 additions and 8 deletions

View file

@ -33,7 +33,7 @@ if (settings.remote.read('checkForUpdates') && navigator.onLine) {
if (settings.remote.read('alwaysOnTop')) {
remote.getCurrentWindow().setAlwaysOnTop(true)
settings.remote.getCurrentWindow().setAlwaysOnTop(true)
}