fix grammar typo

This commit is contained in:
Dawid Wysokiński 2020-07-17 16:25:48 +02:00
parent af3ff47365
commit 124fbb326f
2 changed files with 6 additions and 6 deletions

View File

@ -1283,18 +1283,18 @@ const renderActions = () => {
const showPlayerHistory = document.createElement('a'); const showPlayerHistory = document.createElement('a');
showPlayerHistory.href = '#'; showPlayerHistory.href = '#';
(0, _pagination.setPage)(showPlayerHistory, '1'); (0, _pagination.setPage)(showPlayerHistory, '1');
showPlayerHistory.innerHTML = 'Show player history'; showPlayerHistory.innerHTML = 'Show history';
showPlayerHistory.addEventListener('click', handleShowPlayerHistoryClick); showPlayerHistory.addEventListener('click', handleShowPlayerHistoryClick);
actionsContainer.appendChild(wrapAction(showPlayerHistory)); actionsContainer.appendChild(wrapAction(showPlayerHistory));
const showEnnoblements = document.createElement('a'); const showEnnoblements = document.createElement('a');
showEnnoblements.href = '#'; showEnnoblements.href = '#';
(0, _pagination.setPage)(showEnnoblements, '1'); (0, _pagination.setPage)(showEnnoblements, '1');
showEnnoblements.innerHTML = 'Show player ennoblements'; showEnnoblements.innerHTML = 'Show ennoblements';
showEnnoblements.addEventListener('click', handleShowPlayerEnnoblementsClick); showEnnoblements.addEventListener('click', handleShowPlayerEnnoblementsClick);
actionsContainer.appendChild(wrapAction(showEnnoblements)); actionsContainer.appendChild(wrapAction(showEnnoblements));
const exportPlayerVillages = document.createElement('a'); const exportPlayerVillages = document.createElement('a');
exportPlayerVillages.href = '#'; exportPlayerVillages.href = '#';
exportPlayerVillages.innerHTML = "Export player's villages"; exportPlayerVillages.innerHTML = "Export villages";
exportPlayerVillages.addEventListener('click', handleExportPlayerVillagesButtonClick); exportPlayerVillages.addEventListener('click', handleExportPlayerVillagesButtonClick);
actionsContainer.appendChild(wrapAction(exportPlayerVillages)); actionsContainer.appendChild(wrapAction(exportPlayerVillages));
}; };

View File

@ -654,20 +654,20 @@ const renderActions = () => {
const showPlayerHistory = document.createElement('a'); const showPlayerHistory = document.createElement('a');
showPlayerHistory.href = '#'; showPlayerHistory.href = '#';
setPage(showPlayerHistory, '1'); setPage(showPlayerHistory, '1');
showPlayerHistory.innerHTML = 'Show player history'; showPlayerHistory.innerHTML = 'Show history';
showPlayerHistory.addEventListener('click', handleShowPlayerHistoryClick); showPlayerHistory.addEventListener('click', handleShowPlayerHistoryClick);
actionsContainer.appendChild(wrapAction(showPlayerHistory)); actionsContainer.appendChild(wrapAction(showPlayerHistory));
const showEnnoblements = document.createElement('a'); const showEnnoblements = document.createElement('a');
showEnnoblements.href = '#'; showEnnoblements.href = '#';
setPage(showEnnoblements, '1'); setPage(showEnnoblements, '1');
showEnnoblements.innerHTML = 'Show player ennoblements'; showEnnoblements.innerHTML = 'Show ennoblements';
showEnnoblements.addEventListener('click', handleShowPlayerEnnoblementsClick); showEnnoblements.addEventListener('click', handleShowPlayerEnnoblementsClick);
actionsContainer.appendChild(wrapAction(showEnnoblements)); actionsContainer.appendChild(wrapAction(showEnnoblements));
const exportPlayerVillages = document.createElement('a'); const exportPlayerVillages = document.createElement('a');
exportPlayerVillages.href = '#'; exportPlayerVillages.href = '#';
exportPlayerVillages.innerHTML = `Export player's villages`; exportPlayerVillages.innerHTML = `Export villages`;
exportPlayerVillages.addEventListener( exportPlayerVillages.addEventListener(
'click', 'click',
handleExportPlayerVillagesButtonClick handleExportPlayerVillagesButtonClick