13 lines
429 B
JavaScript
13 lines
429 B
JavaScript
const Panel_left = document.getElementById('leftPanel');
|
|
const Panel_right = document.getElementById('rightPanel');
|
|
|
|
function hideLeftPanel() {
|
|
if (Panel_right.style.display === 'none' || Panel_right.style.display === '') {
|
|
Panel_left.style.display = 'none';
|
|
Panel_right.style.display = 'flex';
|
|
}
|
|
else {
|
|
Panel_left.style.display = 'flex';
|
|
Panel_right.style.display = 'none';
|
|
}
|
|
} |