From aaabd0cc797e85609ded867e883472b725db87d9 Mon Sep 17 00:00:00 2001 From: Nekobit Date: Sun, 17 Jul 2022 13:05:11 -0400 Subject: [PATCH] Fix (#319) * Sneed * Bust cache * Fix widescreens emoji picker --- files/assets/js/emoji_modal.js | 2 +- files/templates/util/assetcache.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/assets/js/emoji_modal.js b/files/assets/js/emoji_modal.js index 9b1555663..94a87ebc1 100644 --- a/files/assets/js/emoji_modal.js +++ b/files/assets/js/emoji_modal.js @@ -492,7 +492,7 @@ function emojiAddToInput(event) modal_pos.y += window.scrollY; speed_carot_modal.style.display = "initial"; - speed_carot_modal.style.left = modal_pos.x + box_coords.x - 35 + "px"; + speed_carot_modal.style.left = box_coords.x - 35 + "px"; speed_carot_modal.style.top = modal_pos.y + box_coords.y + 14 + "px"; // Do the search (and do something with it) diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 0bceea812..4dde73370 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': 300, + 'js/emoji_modal.js': 301, 'js/formatting.js': 240, 'js/lottery.js': 256, 'js/marked.js': 280,