Translating button
This commit is contained in:
parent
48c13119bd
commit
e0540790e1
@ -48,7 +48,7 @@ export class ConsoleGlobalMessageManager {
|
|||||||
//this.buttonAdminMainConsole = document.createElement('img');
|
//this.buttonAdminMainConsole = document.createElement('img');
|
||||||
this.userInputManager = userInputManager;
|
this.userInputManager = userInputManager;
|
||||||
this.initialise();
|
this.initialise();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
initialise() {
|
initialise() {
|
||||||
@ -140,7 +140,7 @@ export class ConsoleGlobalMessageManager {
|
|||||||
const div = document.createElement('div');
|
const div = document.createElement('div');
|
||||||
div.id = INPUT_CONSOLE_MESSAGE
|
div.id = INPUT_CONSOLE_MESSAGE
|
||||||
const buttonSend = document.createElement('button');
|
const buttonSend = document.createElement('button');
|
||||||
buttonSend.innerText = 'Envoyer';
|
buttonSend.innerText = 'Send';
|
||||||
buttonSend.classList.add('btn');
|
buttonSend.classList.add('btn');
|
||||||
buttonSend.addEventListener('click', (event: MouseEvent) => {
|
buttonSend.addEventListener('click', (event: MouseEvent) => {
|
||||||
this.sendMessage();
|
this.sendMessage();
|
||||||
@ -242,7 +242,7 @@ export class ConsoleGlobalMessageManager {
|
|||||||
div.appendChild(input);
|
div.appendChild(input);
|
||||||
|
|
||||||
const buttonSend = document.createElement('button');
|
const buttonSend = document.createElement('button');
|
||||||
buttonSend.innerText = 'Envoyer';
|
buttonSend.innerText = 'Send';
|
||||||
buttonSend.classList.add('btn');
|
buttonSend.classList.add('btn');
|
||||||
buttonSend.addEventListener('click', (event: MouseEvent) => {
|
buttonSend.addEventListener('click', (event: MouseEvent) => {
|
||||||
this.sendMessage();
|
this.sendMessage();
|
||||||
|
Loading…
Reference in New Issue
Block a user