Fixed issue that broke the offline dialog
Javascript is not python...
This commit is contained in:
1 parent
fe34bdc656
commit
3a0aac3c36
1 file changed
+2
-2
@@ -37,7 +37,7 @@ function DataUpdater(allViewModels) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (viewModel.hasattr("onServerDisconnect")) {
|
||||
if (viewModel.hasOwnProperty("onServerDisconnect")) {
|
||||
if (!viewModel.onServerDisconnect()) {
|
||||
handled = true;
|
||||
}
|
||||
@@ -71,7 +71,7 @@ function DataUpdater(allViewModels) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (viewModel.hasattr("onServerDisconnect")) {
|
||||
if (viewModel.hasOwnProperty("onServerDisconnect")) {
|
||||
if (!viewModel.onServerDisconnect()) {
|
||||
handled = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user