From d0110554216775d75b944126787434ac5bf69a5d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 17 Jul 2022 19:35:29 +0200 Subject: [PATCH] fix ghostdiv --- files/assets/js/emoji_modal.js | 1 + files/templates/util/assetcache.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/files/assets/js/emoji_modal.js b/files/assets/js/emoji_modal.js index e378b7c7a..5e713c285 100644 --- a/files/assets/js/emoji_modal.js +++ b/files/assets/js/emoji_modal.js @@ -543,6 +543,7 @@ function emojiAddToInput(event) forms.forEach(i => { let pseudo_div = document.createElement("div"); pseudo_div.className = "ghostdiv"; + pseudo_div.style.display = "none"; i.after(pseudo_div); i.addEventListener('input', update_speed_emoji_modal, false); i.addEventListener('keydown', speed_carot_navigate, false); diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index f7b1b6890..3e34c5f0d 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -20,7 +20,7 @@ set CACHE_VER = { 'js/bootstrap.js': 275, 'js/comments+submission_listing.js': 263, 'js/submission_listing.js': 261, - 'js/emoji_modal.js': 311, + 'js/emoji_modal.js': 312, 'js/formatting.js': 240, 'js/lottery.js': 256, 'js/marked.js': 280,