diff --git a/app/src/Server.js b/app/src/Server.js
index 421e41af..e6dc4894 100644
--- a/app/src/Server.js
+++ b/app/src/Server.js
@@ -55,7 +55,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
- * @version 1.6.98
+ * @version 1.6.99
*
*/
diff --git a/package.json b/package.json
index 3d8f37fb..788b38e8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
- "version": "1.6.98",
+ "version": "1.6.99",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
diff --git a/public/js/Common.js b/public/js/Common.js
index af46516a..7fcebcd7 100644
--- a/public/js/Common.js
+++ b/public/js/Common.js
@@ -224,11 +224,11 @@ function joinRoom() {
const roomValid = isValidRoomName(roomName);
if (!roomName) {
- alert('Room name empty!\nPlease pick a room name.');
+ popup('warning', 'Room name empty!\nPlease pick a room name.');
return;
}
if (!roomValid) {
- alert('Invalid Room name!\nPath traversal pattern detected!');
+ popup('warning', 'Invalid Room name!\nPath traversal pattern detected!');
return;
}
diff --git a/public/js/Login.js b/public/js/Login.js
index 1e273f65..99e624fe 100644
--- a/public/js/Login.js
+++ b/public/js/Login.js
@@ -87,20 +87,20 @@ function login() {
})
.catch(function (error) {
console.error(error);
- alert('Unauthorized');
+ popup('warning', 'Invalid credentials. Please try again.');
});
return;
}
if (!username && !password) {
- alert('Username and Password required');
+ popup('warning', 'Username and Password required');
return;
}
if (!username) {
- alert('Username required');
+ popup('warning', 'Username required');
return;
}
if (!password) {
- alert('Password required');
+ popup('warning', 'Password required');
return;
}
}
diff --git a/public/js/Room.js b/public/js/Room.js
index 5fe643fd..e818e06d 100644
--- a/public/js/Room.js
+++ b/public/js/Room.js
@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
- * @version 1.6.98
+ * @version 1.6.99
*
*/
@@ -4904,7 +4904,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
- title: 'WebRTC SFU v1.6.98',
+ title: 'WebRTC SFU v1.6.99',
html: `