Skip to content

Commit

Permalink
Fix issue with send button being disabled when just pasting something
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkor committed Sep 5, 2024
1 parent 1868bc0 commit 816a34b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ for GOOS in "${GOOS_VALUES[@]}"; do
done

# Create a new release with the new builds
gh release create v0.0.3 dist/* dist-client.tar.gz --notes ''
gh release create v0.0.5 dist/* dist-client.tar.gz --notes ''

echo "Builds and release process completed successfully."
2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ ${file.text}
const start = textarea.selectionStart;
const end = textarea.selectionEnd;
const value = textarea.value;
textarea.value =
content =
value.substring(0, start) + text + value.substring(end);
textarea.selectionStart = textarea.selectionEnd = start + text.length;
tick().then(() => {
Expand Down

0 comments on commit 816a34b

Please sign in to comment.