Дозаливка

This commit is contained in:
2022-12-19 22:22:19 +02:00
parent 73d69cb0ae
commit 2f6517f5b3
22083 changed files with 494007 additions and 0 deletions
@@ -0,0 +1,25 @@
import { removeStylesOfHighlightedElements, setModalContent } from '../features/index.js';
/**
* @param {string} currentStep
*/
export const chatWindow = (currentStep) => {
removeStylesOfHighlightedElements();
const $chatWindow = document.getElementById('chat_block');
const $leftIcon = document.getElementById('chatLeftIcon');
const $textInput = document.getElementById('textmsg');
const $sendButton = document.getElementById('sendButtonTextMsg');
$chatWindow.classList.add('highlightedTrainingElement', 'highlightedTrainingElementBackground');
$leftIcon.classList.add('highlightedTrainingElement', 'highlightedTrainingElementPosition');
$textInput.classList.add('highlightedTrainingElement', 'highlightedTrainingElementPosition');
$sendButton.classList.add('highlightedTrainingElement', 'highlightedTrainingElementPosition');
setModalContent({
keyTitle: 'newCombats.trainingModal.step2.title',
keyContent: 'newCombats.trainingModal.step2.text',
currentStep,
});
};