show contact list before description
This commit is contained in:
parent
9cd5317210
commit
da633f4466
1 changed files with 7 additions and 7 deletions
|
|
@ -863,6 +863,13 @@
|
|||
|
||||
questionContainer.appendChild(buttonContainer);
|
||||
|
||||
if ('contacts' in question) {
|
||||
Object.keys(question.contacts).forEach(function(key) {
|
||||
var contact = question.contacts[key];
|
||||
renderContact(contact.name, contact.title, contact.tel, contact.mail, contact.web, contact.address);
|
||||
});
|
||||
}
|
||||
|
||||
if ("description" in question) {
|
||||
var descriptionDiv = document.createElement('div');
|
||||
descriptionDiv.classList.add('descriptionContainer');
|
||||
|
|
@ -871,15 +878,8 @@
|
|||
};
|
||||
|
||||
feather.replace();
|
||||
|
||||
questionContainer.classList.add('show');
|
||||
|
||||
if ('contacts' in question) {
|
||||
Object.keys(question.contacts).forEach(function(key) {
|
||||
var contact = question.contacts[key];
|
||||
renderContact(contact.name, contact.title, contact.tel, contact.mail, contact.web, contact.address);
|
||||
});
|
||||
}
|
||||
}, 500);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue