game/js/registrationTraining/modalSteps/slotsForThings.js

21 lines
599 B
JavaScript
Raw Normal View History

2022-12-19 20:22:19 +00:00
import { removeStylesOfHighlightedElements, setModalContent } from '../features/index.js';
/**
* @param {string} currentStep
*/
export const slotsForThings = (currentStep) => {
removeStylesOfHighlightedElements();
const $blockName = document.getElementById('main');
const $stats = document.getElementsByClassName('personag')[0];
$blockName.classList.add('highlightedTrainingElementPosition', 'highlightedTrainingElementZIndex');
setModalContent({
keyTitle: 'newCombats.trainingModal.step4.title',
keyContent: 'newCombats.trainingModal.step4.text',
currentStep,
});
};