up score complétion normalisé dans le podium
This commit is contained in:
parent
c3a9bc52b2
commit
59398d14ba
8 changed files with 116 additions and 36 deletions
|
@ -99,8 +99,10 @@ async function searchInseeCode(query) {
|
|||
|
||||
export function updateMapHeightForLargeScreens() {
|
||||
const mapFound = document.querySelector('#map');
|
||||
const canvasFound = document.querySelector('#map canvas');
|
||||
const newHeight = window.innerHeight * 0.5 + 'px'
|
||||
if (mapFound && window.innerHeight > 800 && window.innerWidth > 800) {
|
||||
mapFound.style.height = window.innerWidth * 0.8 + 'px';
|
||||
mapFound.style.height = newHeight;
|
||||
} else {
|
||||
console.log('window.innerHeight', window.innerHeight);
|
||||
}
|
||||
|
@ -188,8 +190,12 @@ export function enableLabourageForm() {
|
|||
// Soumettre le formulaire
|
||||
form.submit();
|
||||
}
|
||||
}else{
|
||||
console.warn('pas de form pour labourage trouvé')
|
||||
}
|
||||
});
|
||||
}else{
|
||||
console.warn('pas de labourage citySearchInput citySuggestionsList trouvé', citySearchInput,citySuggestionsList )
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue