maj title

This commit is contained in:
arussac
2025-03-31 10:48:36 +02:00
parent b8929931e8
commit be7eca503d
3 changed files with 4 additions and 10 deletions

View File

@@ -457,17 +457,14 @@ $( ".arrow-icon" ).click(function() {
let titleIsReadable = true;
function change_title_style(){
const titlePlaceHolder = document.getElementById('title-global');
const xyz = document.getElementById('xyzv');
const h3_title = document.getElementById('h3-title');
if(titleIsReadable){
titleIsReadable = false;
titlePlaceHolder.classList.add('container-title');
xyz.style.display = 'block';
h3_title.style.display = 'none';
} else {
titleIsReadable = true;
titlePlaceHolder.classList.remove('container-title');
xyz.style.display = 'none';
h3_title.style.display = 'block';
}