Change edit button from "E" to "✎"

main
sudoer777 2021-11-26 23:47:25 -07:00
parent 2261c3e0ac
commit 33a2499981
1 changed files with 2 additions and 1 deletions

View File

@ -355,7 +355,8 @@ async function listItems(category) {
const editSpan = document.createElement('span'); const editSpan = document.createElement('span');
const editButton = document.createElement('button'); const editButton = document.createElement('button');
editButton.textContent = "E"; editButton.textContent = "✎";
editButton.style['font-size'] = '1.25em';
editButton.addEventListener('click', () => { editButton.addEventListener('click', () => {
CATEGORIES[categoryDropdown.selectedIndex].editItem(item.id); CATEGORIES[categoryDropdown.selectedIndex].editItem(item.id);
}); });