Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

editions after rebase

Ilya Daynatovich58b5e1748f1f
diff --git a/modules/UI/welcome_page/WelcomePage.js b/modules/UI/welcome_page/WelcomePage.js
deleted file mode 100644
index 6777ff23a5..0000000000
--- a/modules/UI/welcome_page/WelcomePage.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/* global $ */
-
-function enterRoom() {
- const $enterRoomField = $("#enter_room_field");
-
- var val = $enterRoomField.val();
- if(!val) {
- val = $enterRoomField.data("room-name");
- }
- if (val) {
- window.location.pathname = "/" + val;
- }
-}
-
-function setupWelcomePage() {
- // XXX: We left only going to conference page here because transitions via
- // React Router isn't implemented yet.
-
- $("#enter_room_button").click(function() {
- enterRoom();
- });
-
- $("#enter_room_field").keydown(function (event) {
- if (event.keyCode === 13 /* enter */) {
- enterRoom();
- }
- });
-}
-
-module.exports = setupWelcomePage;
diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.js
index 9466bf765e..404d218022 100644
--- a/react/features/welcome/components/WelcomePage.web.js
+++ b/react/features/welcome/components/WelcomePage.web.js
@@ -3,8 +3,6 @@
import React from 'react';
import { connect } from 'react-redux';
-import { Conference } from '../../conference';
-
import { AbstractWelcomePage, mapStateToProps } from './AbstractWelcomePage';
/**
@@ -128,19 +126,6 @@ class WelcomePage extends AbstractWelcomePage {
});
}
- /**
- * Overrides the super in order to prevent the dispatching of the Redux
- * action SET_ROOM.
- *
- * @override
- * @protected
- * @returns {null}
- */
- _onJoin() {
- // Don't call the super implementation and thus prevent the dispatching
- // of the Redux action SET_ROOM.
- }
-
/**
* Handles 'keydown' event to initiate joining the room when the
* 'Enter/Return' button is pressed.
@@ -365,33 +350,6 @@ class WelcomePage extends AbstractWelcomePage {
this._updateRoomname();
}
- /**
- * Event handler for changing room name input from web.
- *
- * @inheritdoc
- * @override
- * @protected
- */
- _onRoomChange() {
- super._onRoomChange(this.roomNameInput.value);
- }
-
- /**
- * Handles 'keydown' event and initiate joining the room if 'return' button
- * was pressed.
- *
- * @param {Event} event - Key down event object.
- * @returns {void}
- * @private
- */
- _onKeyDown(event) {
- const RETURN_BUTTON_CODE = 13;
-
- if (event.keyCode === RETURN_BUTTON_CODE) {
- this._onJoin();
- }
- }
-
/**
* Renders the main part of this WelcomePage.
*