Skip to content
Snippets Groups Projects
Commit 6fdc70aa authored by Daniel Bressan's avatar Daniel Bressan
Browse files

fix lint errors again

parent 466d9b0c
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ Template.videoFlexTab.onRendered(function() {
Meteor.call('jitsi:updateTimeout', roomId);
timeOut = Meteor.setInterval(() => Meteor.call('jitsi:updateTimeout', roomId), 10*1000);
const newWindow;
const newWindow = null;
if (Meteor.isCordova) {
newWindow = window.open((noSsl ? 'http://' : 'https://') + domain + '/' + jitsiRoom, '_system');
closePanel();
......@@ -84,7 +84,9 @@ Template.videoFlexTab.onRendered(function() {
}
}, 300);
}
newWindow.focus();
if (newWindow) {
newWindow.focus();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment