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:
yanas 2016-03-24 12:17:58 -05:00
parent 1526d4e239
commit d49dff4ae1
6 changed files with 5 additions and 7 deletions

View File

@ -70,5 +70,5 @@ var config = {
'During that time service will not be available. ' +
'Apologise for inconvenience.',*/
disableThirdPartyRequests: false,
minHDResolution: 540
minHDHeight: 540
};

View File

@ -95,8 +95,6 @@
#unreadMessages {
font-size: 8px;
position: absolute;
left: 46%;
top: 27%
}
#bottomUnreadMessages {

View File

@ -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 {

View File

@ -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());

View File

@ -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',

View File

@ -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;
});
}