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

fix lint errors

parent d87d7d25
No related branches found
No related tags found
No related merge requests found
......@@ -69,14 +69,14 @@ Template.videoFlexTab.onRendered(function() {
Meteor.call('jitsi:updateTimeout', roomId);
timeOut = Meteor.setInterval(() => Meteor.call('jitsi:updateTimeout', roomId), 10*1000);
const newWindow;
if (Meteor.isCordova) {
const newWindow = window.open((noSsl ? 'http://' : 'https://') + domain + '/' + jitsiRoom, '_system');
newWindow = window.open((noSsl ? 'http://' : 'https://') + domain + '/' + jitsiRoom, '_system');
closePanel();
clearInterval(timeOut);
} else {
const newWindow = window.open((noSsl ? 'http://' : 'https://') + domain + '/' + jitsiRoom, jitsiRoom);
let closeInterval = setInterval(() => {
newWindow = window.open((noSsl ? 'http://' : 'https://') + domain + '/' + jitsiRoom, jitsiRoom);
const closeInterval = setInterval(() => {
if (newWindow.closed !== false) {
closePanel();
clearInterval(closeInterval);
......
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