App reconnect is now possible if the connection was interrupted and takes to long for automatic reconnect

This commit is contained in:
Martin Filser 2021-11-08 13:01:01 +01:00
parent a8c8970192
commit 8fe2e073c5
3 changed files with 11 additions and 0 deletions

View file

@ -41,3 +41,10 @@ Template.header.events({
Session.set('currentCard', null);
},
});
Template.offlineWarning.events({
'click a.app-try-reconnect'(event) {
event.preventDefault();
Meteor.reconnect();
},
});