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