From c5965b5a79fd64a1594d6b3b054d50bcff495776 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 3 Apr 2020 20:32:47 +0200 Subject: [PATCH] Recreate form automatically --- assets/js/pages/settings/sections/emojis.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/js/pages/settings/sections/emojis.js b/assets/js/pages/settings/sections/emojis.js index 6781d73a..08047bd5 100644 --- a/assets/js/pages/settings/sections/emojis.js +++ b/assets/js/pages/settings/sections/emojis.js @@ -209,6 +209,10 @@ class EmojiesSection { cb() + // Recreate form + box.remove(); + this.AddUploadForm(target, cb); + } catch(e) { console.error(e); notify("Could not upload new emoji!", "danger");