Updated style

This commit is contained in:
luca0N! 2021-06-02 18:08:25 -03:00
parent fd377ba8c0
commit e253939fb0
Signed by: luca0N
GPG key ID: 2E7B4655CF16D7D6
4 changed files with 105 additions and 67 deletions

View file

@ -160,7 +160,7 @@ function setUpStrings(){
let report = quiz.reports[choices[x][y]];
let reportEl = document.createElement('div');
reportEl.className = 'section-report';
reportEl.className = 'section-report section-report-' + report.type;
let title = document.createElement('p');
title.className = 'report-title';
@ -194,6 +194,7 @@ function setUpStrings(){
if (report.advisory != null && report.advisory != undefined){
let p = document.createElement('p');
p.innerText = report.advisory;
p.className = 'advisory';
reportEl.appendChild(p);
}