Skip to content

Node.js based forum software built for the modern web

feat: add lang string and drag fix

Barış Soner Uşaklıdb9b807c86a6
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);