Change edit button from "E" to "✎"
parent
2261c3e0ac
commit
33a2499981
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue