mirror of
https://framagit.org/JonathanMM/sutom.git
synced 2024-06-10 09:52:13 +02:00
Merge branch 'add_link_to_cnrtl' into 'main'
ajout d'un lien vers la définition sur le panneau de fin de partie See merge request JonathanMM/sutom!14
This commit is contained in:
commit
62d115bec6
|
@ -181,6 +181,8 @@ export default class FinDePartiePanel {
|
|||
"</div>" +
|
||||
"</div>" +
|
||||
"</div>";
|
||||
const mot = this._motATrouver.charAt(0).toUpperCase() + this._motATrouver.toLowerCase().slice(1);
|
||||
contenu += `<a href="https://www.cnrtl.fr/definition/${mot}">Définition</a>`;
|
||||
}
|
||||
|
||||
this._panelManager.setContenu(titre, contenu);
|
||||
|
|
Loading…
Reference in a new issue