mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
Minor fixes to sfu.js.
This commit is contained in:
parent
0b5416f617
commit
d35f599922
1 changed files with 2 additions and 3 deletions
|
@ -776,8 +776,7 @@ function gotPermissions(perms) {
|
||||||
displayUsername();
|
displayUsername();
|
||||||
setButtonsVisibility();
|
setButtonsVisibility();
|
||||||
if(serverConnection.permissions.present)
|
if(serverConnection.permissions.present)
|
||||||
displayMessage("Press Present to enable your camera or microphone",
|
displayMessage("Press Present to enable your camera or microphone");
|
||||||
"info");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const urlRegexp = /https?:\/\/[-a-zA-Z0-9@:%/._\\+~#=?]+[-a-zA-Z0-9@:%/_\\+~#=]/g;
|
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 right = document.getElementById("right");
|
||||||
|
|
||||||
let start_x = e.clientX;
|
let start_x = e.clientX;
|
||||||
let start_width = parseFloat(left.offsetWidth);
|
let start_width = left.offsetWidth;
|
||||||
|
|
||||||
function start_drag(e) {
|
function start_drag(e) {
|
||||||
let left_width = (start_width + e.clientX - start_x) * 100 / full_width;
|
let left_width = (start_width + e.clientX - start_x) * 100 / full_width;
|
||||||
|
|
Loading…
Reference in a new issue