From db9b807c86a62c097fa51ebefa1f93e4f0d19ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 16 May 2023 10:48:15 -0400 Subject: [PATCH] feat: add lang string and drag fix --- public/language/en-GB/themes/harmony.json | 3 ++- public/src/modules/chat.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/language/en-GB/themes/harmony.json b/public/language/en-GB/themes/harmony.json index 57e2def8d3..1c6f66ac6a 100644 --- a/public/language/en-GB/themes/harmony.json +++ b/public/language/en-GB/themes/harmony.json @@ -10,5 +10,6 @@ "settings.stickyToolbar": "Sticky toolbar", "settings.stickyToolbar.help": "The toolbar on topic and category pages will stick to the top of the page", "settings.autohideBottombar": "Auto hide bottom bar", - "settings.autohideBottombar.help": "The bottom bar on mobile view will be hidden when the page is scrolled down" + "settings.autohideBottombar.help": "The bottom bar on mobile view will be hidden when the page is scrolled down", + "settings.chatModals": "Enable chat modals" } \ No newline at end of file diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index ec4a8f6559..df8b103655 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -266,6 +266,7 @@ define('chat', [ chatModal.draggable({ start: function () { taskbar.updateActive(uuid); + chatModal.css({ bottom: 'auto', right: 'auto' }); }, stop: function () { module.focusInput(chatModal);