From 4e5f9c86a854c9295aeeff458729f9f04171b9cc Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 6 Jan 2024 15:47:14 +0000 Subject: [PATCH] Fix the app emoji button. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4734 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- core/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/client.js b/core/client.js index 61f744f0..f589d1d5 100644 --- a/core/client.js +++ b/core/client.js @@ -545,7 +545,7 @@ function load(path) { } gApp = json; gApp.emoji = gApp.emoji || '📦'; - document.getElementById('icon').value = gApp.emoji; + document.getElementById('icon').innerHTML = gApp.emoji; } if (!isApp) { document.getElementById("editPane").style.display = 'flex'; @@ -658,7 +658,7 @@ function changeIcon() { let value = prompt('Enter a new app icon emoji:'); if (value !== undefined) { gApp.emoji = value || '📦'; - document.getElementById('icon').value = gApp.emoji; + document.getElementById('icon').innerHTML = gApp.emoji; } }