diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index 5cf73d91d9..05a7818ace 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2023.09-rc\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-11 02:08+0200\n" +"POT-Creation-Date: 2023-10-11 14:20+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/view/templates/item/compose.tpl b/view/templates/item/compose.tpl index fa311bc662..051cb3b088 100644 --- a/view/templates/item/compose.tpl +++ b/view/templates/item/compose.tpl @@ -54,7 +54,7 @@

- +

diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 6785c827f5..b138668c45 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -956,4 +956,14 @@ function toggleDropdownText(elm) { function hasClass(elem, cls) { return (" " + elem.className + " ").indexOf(" " + cls + " ") > -1; } + +// Send on + or + on macos +// e: event +// submit: the id of the submitbutton +function sendOnCtrlEnter(e, submit) { + if ((e.ctrlKey || e.metaKey) && (e.keyCode == 13 || e.keyCode == 10)) { + console.log("Ctrl + Enter"); + $("#" + submit).trigger('click'); + } +} // @license-end diff --git a/view/theme/frio/templates/comment_item.tpl b/view/theme/frio/templates/comment_item.tpl index c81d259b40..5e90589c6d 100644 --- a/view/theme/frio/templates/comment_item.tpl +++ b/view/theme/frio/templates/comment_item.tpl @@ -46,7 +46,7 @@

- +

{{if $qcomment}} diff --git a/view/theme/frio/templates/jot.tpl b/view/theme/frio/templates/jot.tpl index 2160b3e0b6..e04b942df4 100644 --- a/view/theme/frio/templates/jot.tpl +++ b/view/theme/frio/templates/jot.tpl @@ -100,7 +100,7 @@ {{* The jot text field in which the post text is inserted *}}
- +