1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 23:35:46 +01:00

Minor fixes to sfu.js.

This commit is contained in:
Juliusz Chroboczek 2020-09-11 22:46:23 +02:00
parent 0b5416f617
commit d35f599922

View file

@ -776,8 +776,7 @@ function gotPermissions(perms) {
displayUsername();
setButtonsVisibility();
if(serverConnection.permissions.present)
displayMessage("Press Present to enable your camera or microphone",
"info");
displayMessage("Press Present to enable your camera or microphone");
}
const urlRegexp = /https?:\/\/[-a-zA-Z0-9@:%/._\\+~#=?]+[-a-zA-Z0-9@:%/_\\+~#=]/g;
@ -1007,7 +1006,7 @@ function chatResizer(e) {
let right = document.getElementById("right");
let start_x = e.clientX;
let start_width = parseFloat(left.offsetWidth);
let start_width = left.offsetWidth;
function start_drag(e) {
let left_width = (start_width + e.clientX - start_x) * 100 / full_width;