Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Avoid unnecessary jquery calls.
Boris Grozev029851fe3f19
diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.jsindex 1ed5497a72..14939bf2bb 100644--- a/modules/UI/toolbars/Toolbar.js+++ b/modules/UI/toolbars/Toolbar.js@@ -549,12 +549,13 @@ var Toolbar = (function (my) {// Sets the state of the recording buttonmy.setRecordingButtonState = function (isRecording) {+ var selector = $('#recordButton');if (isRecording) {- $('#recordButton').removeClass("icon-recEnable");- $('#recordButton').addClass("icon-recEnable active");+ selector.removeClass("icon-recEnable");+ selector.addClass("icon-recEnable active");} else {- $('#recordButton').removeClass("icon-recEnable active");- $('#recordButton').addClass("icon-recEnable");+ selector.removeClass("icon-recEnable active");+ selector.addClass("icon-recEnable");}};@@ -573,8 +574,9 @@ var Toolbar = (function (my) {*/my.setAuthenticatedIdentity = function (authIdentity) {if (authIdentity) {- $('#toolbar_auth_identity').css({display: "list-item"});- $('#toolbar_auth_identity').text(authIdentity);+ var selector = $('#toolbar_auth_identity');+ selector.css({display: "list-item"});+ selector.text(authIdentity);} else {$('#toolbar_auth_identity').css({display: "none"});}