mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-04-05 17:33:31 -04:00
Remove verse reference from copied text
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -53,12 +53,7 @@
|
||||
});
|
||||
|
||||
function copyVerse() {
|
||||
const fullReference = dailyVerse.reference.replace(
|
||||
/^Psalms /,
|
||||
"Psalm ",
|
||||
);
|
||||
const textToCopy = `"${displayVerseText}" — ${fullReference}`;
|
||||
navigator.clipboard.writeText(textToCopy).then(() => {
|
||||
navigator.clipboard.writeText(displayVerseText).then(() => {
|
||||
copied = true;
|
||||
(window as any).rybbit?.event("Copy Verse");
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user