This commit is contained in:
2024-05-25 18:11:04 +02:00
parent 459746144e
commit fc7f316cc9
3 changed files with 10 additions and 9 deletions
+5 -2
View File
@@ -1,4 +1,7 @@
body,
body {
padding-bottom: 150px;
}
html {
height: 100%;
margin: 0;
@@ -38,7 +41,7 @@ html {
max-width: 780px;
margin: auto;
width: 95%;
margin-bottom: 180px;
box-sizing: border-box;
}
/* Primary color */
+5
View File
@@ -55,6 +55,11 @@
}, 200);
}
function updateIcon(icon, ConversationAreaId) {
var selectedIcon = document.getElementById('selectedIcon-' + ConversationAreaId);
selectedIcon.src = icon;
}
function handleTextareaKeydown(event) {
if (event.metaKey && event.key === 'Enter') {
// Check if the cursor is in the textarea
-7
View File
@@ -23,13 +23,6 @@
{{embed}}
<script>
function updateIcon(icon, ConversationAreaId) {
var selectedIcon = document.getElementById('selectedIcon-' + ConversationAreaId);
selectedIcon.src = icon;
}
</script>
<script>
function copyToClipboardCode(button) {
// Get the code element next to the button