Skip to content

Commit

Permalink
also change icon when WebRTC is not supported
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
  • Loading branch information
jancborchardt committed Nov 18, 2016
1 parent 79d4c6c commit 4911cc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/webrtc.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ var spreedMappingTable = [];
message = t('spreed', 'WebRTC is not supported in your browser :-/');
messageAdditional = t('spreed', 'Please use a different browser like Firefox or Chrome');

$('#emptycontent .icon-video').removeClass('icon-video').addClass('icon-video-off');
$('#emptycontent h2').text(message);
$('#emptycontent p').text(messageAdditional);
}
Expand Down

0 comments on commit 4911cc8

Please sign in to comment.