mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
ne pas remplir les horaires si aucune à la base
This commit is contained in:
parent
bddd00c575
commit
90760c93f8
1 changed files with 4 additions and 1 deletions
|
@ -74,7 +74,10 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
this.defaultOpeningHours = openingHoursInput.value;
|
||||
|
||||
this.makeForm();
|
||||
this.parseOpeningHoursValue();
|
||||
|
||||
if (this.defaultOpeningHours !== '') {
|
||||
this.parseOpeningHoursValue();
|
||||
}
|
||||
},
|
||||
parseOpeningHoursValue: function () {
|
||||
// Analyser la chaîne d'horaires d'ouverture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue