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() {
|
function copyVerse() {
|
||||||
const fullReference = dailyVerse.reference.replace(
|
navigator.clipboard.writeText(displayVerseText).then(() => {
|
||||||
/^Psalms /,
|
|
||||||
"Psalm ",
|
|
||||||
);
|
|
||||||
const textToCopy = `"${displayVerseText}" — ${fullReference}`;
|
|
||||||
navigator.clipboard.writeText(textToCopy).then(() => {
|
|
||||||
copied = true;
|
copied = true;
|
||||||
(window as any).rybbit?.event("Copy Verse");
|
(window as any).rybbit?.event("Copy Verse");
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user