Skip to content

Commit

Permalink
[talk] - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Aug 15, 2022
1 parent 9bc00a6 commit fdbfd49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions www/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const App = new Vue({
audioDevices: [],
audioEnabled: true,
videoEnabled: true,
screenshareEnabled: false,
screenShareEnabled: false,
showIntro: true,
showChat: false,
showSettings: false,
Expand Down Expand Up @@ -62,7 +62,7 @@ const App = new Vue({
screenShareToggle: function(e) {
e.stopPropagation();
let screenMediaPromise;
if (!App.screenshareEnabled) {
if (!App.screenShareEnabled) {
if (navigator.getDisplayMedia) {
screenMediaPromise = navigator.getDisplayMedia({ video: true });
} else if (navigator.mediaDevices.getDisplayMedia) {
Expand All @@ -78,7 +78,7 @@ const App = new Vue({
}
screenMediaPromise
.then((screenStream) => {
App.screenshareEnabled = !App.screenshareEnabled;
App.screenShareEnabled = !App.screenShareEnabled;

this.videoEnabled = true;
this.updateUserData("videoEnabled", this.videoEnabled);
Expand All @@ -94,7 +94,7 @@ const App = new Vue({
this.toggleSelfVideoMirror();

screenStream.getVideoTracks()[0].onended = function() {
if (App.screenshareEnabled)
if (App.screenShareEnabled)
App.screenShareToggle();
};
})
Expand Down
2 changes: 1 addition & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
></button>
<button
v-if="!isMobileDevice"
v-bind:class="'icon-monitor '+(screenshareEnabled ? 'active' : '')"
v-bind:class="'icon-monitor '+(screenShareEnabled ? 'active' : '')"
v-on:click="screenShareToggle"
></button>
<button
Expand Down

0 comments on commit fdbfd49

Please sign in to comment.