/** * @param {boolean} showRelines */ export const changeStylesForRelines = (showRelines) => { const $relineX = document.getElementById('reline1'); const $relineY = document.getElementById('reline2'); $relineX.style.zIndex = showRelines ? 1001 : -1; $relineY.style.zIndex = showRelines ? 1000 : -1; };