You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/04/25 10:24:09 UTC
[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1877] JS
infinite loop is fixed
This is an automated email from the ASF dual-hosted git repository.
solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/4.0.x by this push:
new 3d6c199 [OPENMEETINGS-1877] JS infinite loop is fixed
3d6c199 is described below
commit 3d6c1993ab4d3c6e183c82cf8d63b7c26878d2c1
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Wed Apr 25 17:23:56 2018 +0700
[OPENMEETINGS-1877] JS infinite loop is fixed
---
.../src/main/java/org/apache/openmeetings/web/room/video-util.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/video-util.js b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/video-util.js
index 950efbb..e7a7398 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/video-util.js
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/video-util.js
@@ -82,7 +82,7 @@ var VideoUtil = (function() {
}
if (rectNew.right >= area.right) {
rectNew.left = area.left;
- rectNew.top = minY + offsetY;
+ rectNew.top = Math.max(minY, rectNew.top) + offsetY;
posFound = false;
}
if (rectNew.bottom >= area.bottom) {
--
To stop receiving notification emails like this one, please contact
solomax@apache.org.