diff options
author | Joas Schilling <coding@schilljs.com> | 2018-11-29 17:43:59 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-11-29 17:43:59 +0100 |
commit | 19e7a5fd7b5a5f288c1e029b4e3279a79b4ddf28 (patch) | |
tree | 523d75f3077faff02554a1f3ad1791e7acc1fbab | |
parent | 2dec057b8f6aa7d9e0cce5155b2bc9ebd07daee0 (diff) |
Fix eslint
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | js/app.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -281,6 +281,7 @@ }.bind(this)); $("#show-screen-button").on('click', function() { + var webrtc = OCA.SpreedMe.webrtc; if (webrtc.getLocalScreen()) { var currentUser = OCA.SpreedMe.webrtc.connection.getSessionid(); OCA.SpreedMe.sharedScreens.switchScreenToId(currentUser); @@ -292,6 +293,7 @@ }.bind(this)); $("#show-window-button").on('click', function() { + var webrtc = OCA.SpreedMe.webrtc; if (webrtc.getLocalScreen()) { var currentUser = OCA.SpreedMe.webrtc.connection.getSessionid(); OCA.SpreedMe.sharedScreens.switchScreenToId(currentUser); @@ -308,6 +310,7 @@ }, startShareScreen: function(mode) { + var webrtc = OCA.SpreedMe.webrtc; var screensharingButton = $('#screensharing-button'); screensharingButton.prop('disabled', true); webrtc.shareScreen(mode, function(err) { |