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:
authorJoas Schilling <coding@schilljs.com>2018-01-08 14:47:54 +0300
committerJoas Schilling <coding@schilljs.com>2018-01-08 14:51:02 +0300
commit7fea2fb7f82ece90dc96106ce0a440de011ff97c (patch)
treec6459b1edbe8c3c583676d4086e8503053ac32eb /js/webrtc.js
parent4d319941fb5e31ee28c8b8ab9e545429dac34d5d (diff)
Fix deprecated *-white icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js/webrtc.js')
-rw-r--r--js/webrtc.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/webrtc.js b/js/webrtc.js
index b94e05f76..97c98eec6 100644
--- a/js/webrtc.js
+++ b/js/webrtc.js
@@ -241,15 +241,15 @@ var spreedPeerConnectionTable = [];
mediaIndicator.className = 'mediaIndicator';
var muteIndicator = document.createElement('button');
- muteIndicator.className = 'muteIndicator icon-audio-off-white audio-on';
+ muteIndicator.className = 'muteIndicator icon-white icon-shadow icon-audio-off audio-on';
muteIndicator.disabled = true;
var screenSharingIndicator = document.createElement('button');
- screenSharingIndicator.className = 'screensharingIndicator icon-screen-white screen-off';
+ screenSharingIndicator.className = 'screensharingIndicator icon-white icon-shadow icon-screen screen-off';
screenSharingIndicator.setAttribute('data-original-title', t('spreed', 'Show screen'));
var iceFailedIndicator = document.createElement('button');
- iceFailedIndicator.className = 'iceFailedIndicator icon-error-white not-failed';
+ iceFailedIndicator.className = 'iceFailedIndicator icon-white icon-shadow icon-error not-failed';
iceFailedIndicator.disabled = true;
$(screenSharingIndicator).tooltip({
@@ -956,10 +956,10 @@ var spreedPeerConnectionTable = [];
}
var $hideVideoButton = $('#hideVideo');
- if(OCA.SpreedMe.webrtc.webrtc.localStream.getVideoTracks().length < 1) {
- $hideVideoButton.removeClass('video-disabled')
- .addClass('no-video-available icon-video-off-white')
- .attr('data-original-title', t('spreed', 'No Camera'));
+ if (OCA.SpreedMe.webrtc.webrtc.localStream.getVideoTracks().length === 0) {
+ $hideVideoButton.removeClass('video-disabled icon-video')
+ .addClass('no-video-available icon-video-off')
+ .attr('data-original-title', t('spreed', 'No Camera'));
}
});
}