Fixes a config parameter name. Removes a console.log, which got there by mistake. Fixes some css properties of the chat unread messages.
This commit is contained in:
parent
1526d4e239
commit
d49dff4ae1
|
@ -70,5 +70,5 @@ var config = {
|
|||
'During that time service will not be available. ' +
|
||||
'Apologise for inconvenience.',*/
|
||||
disableThirdPartyRequests: false,
|
||||
minHDResolution: 540
|
||||
minHDHeight: 540
|
||||
};
|
||||
|
|
|
@ -95,8 +95,6 @@
|
|||
#unreadMessages {
|
||||
font-size: 8px;
|
||||
position: absolute;
|
||||
left: 46%;
|
||||
top: 27%
|
||||
}
|
||||
|
||||
#bottomUnreadMessages {
|
||||
|
|
|
@ -47,7 +47,7 @@ html, body{
|
|||
position: relative;
|
||||
color: #FFFFFF;
|
||||
top:0px;
|
||||
padding-top: 9px;
|
||||
padding-top: 10px;
|
||||
width: 38px;
|
||||
height: 28px;
|
||||
cursor: pointer;
|
||||
|
@ -55,6 +55,7 @@ html, body{
|
|||
text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 -1px 0 rgba(0,0,0,.6);
|
||||
z-index: 1;
|
||||
font-size: 1.22em !important;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.toolbar_span>span {
|
||||
|
|
|
@ -44,7 +44,6 @@ export default {
|
|||
if (!avatarId) {
|
||||
console.warn(
|
||||
`No avatar stored yet for ${userId} - using ID as avatar ID`);
|
||||
console.log("USER ID ", userId);
|
||||
avatarId = userId;
|
||||
}
|
||||
avatarId = MD5.hexdigest(avatarId.trim().toLowerCase());
|
||||
|
|
|
@ -35,7 +35,7 @@ function setVisualNotification(show) {
|
|||
var leftIndent = (UIUtil.getTextWidth(chatButtonElement) -
|
||||
UIUtil.getTextWidth(unreadMsgElement)) / 2;
|
||||
var topIndent = (UIUtil.getTextHeight(chatButtonElement) -
|
||||
UIUtil.getTextHeight(unreadMsgElement)) / 2 - 3;
|
||||
UIUtil.getTextHeight(unreadMsgElement)) / 2 - 5;
|
||||
|
||||
unreadMsgElement.setAttribute(
|
||||
'style',
|
||||
|
|
|
@ -376,7 +376,7 @@ ConnectionIndicator.prototype.updateResolutionIndicator = function () {
|
|||
let resolutions = this.resolution || {};
|
||||
Object.keys(resolutions).map(function (ssrc) {
|
||||
let {width, height} = resolutions[ssrc];
|
||||
if (height >= config.minHDResolution)
|
||||
if (height >= config.minHDHeight)
|
||||
showResolutionLabel = true;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue