[mirotalk] - fix typo

This commit is contained in:
Miroslav Pejic
2023-12-17 15:58:34 +01:00
parent ad34be5d1b
commit 19f4c262bb
+11 -2
View File
@@ -382,8 +382,8 @@ const recordingTime = getId('recordingTime');
const lastRecordingInfo = getId('lastRecordingInfo');
const themeSelect = getId('mirotalkTheme');
const videoObjFitSelect = getId('videoObjFitSelect');
const mainButtonsBar = document.querySelectorAll('#buttonsBar button');
const mainButtonsIcon = document.querySelectorAll('#buttonsBar button i');
const mainButtonsBar = getQsA('#buttonsBar button');
const mainButtonsIcon = getQsA('#buttonsBar button i');
const btnsBarSelect = getId('mainButtonsBarPosition');
const pinUnpinGridDiv = getId('pinUnpinGridDiv');
const pinVideoPositionSelect = getId('pinVideoPositionSelect');
@@ -9595,6 +9595,15 @@ function getId(id) {
return document.getElementById(id);
}
/**
* Get all element descendants of node
* @param {string} selectors
* @returns all element descendants of node that match selectors.
*/
function getQsA(selectors) {
return document.querySelectorAll(selectors);
}
/**
* Set document style property
* @param {string} key