Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-12-02 03:46:14 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-12-05 11:29:24 +0300
commitc7def4a9f40af90391aafe42f86caa0cba52b0bb (patch)
tree128acf67311c86ca767de04d10704060be4fe58a
parentb1233b3b60c7e1934cffd54a99296c49498c2bb4 (diff)
Set initial VideoView state in "onRender"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--js/views/videoview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/views/videoview.js b/js/views/videoview.js
index 96258e86e..e31592742 100644
--- a/js/views/videoview.js
+++ b/js/views/videoview.js
@@ -82,7 +82,9 @@
this._screenVisible = false;
this.render();
+ },
+ onRender: function() {
this.$el.addClass('not-connected');
this.getUI('avatar').addClass('icon-loading');
@@ -91,9 +93,7 @@
this.getUI('hideRemoteVideoButton').addClass('hidden');
this.getUI('screenSharingIndicator').attr('data-original-title', t('spreed', 'Show screen'));
- },
- onRender: function() {
this.getUI('hideRemoteVideoButton').tooltip({
placement: 'top',
trigger: 'hover'