Skip to content

Commit

Permalink
The rest of the text after timestamp now shows
Browse files Browse the repository at this point in the history
  • Loading branch information
Erallie committed Nov 27, 2024
1 parent 86e57b2 commit a339007
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ export default class DiscordTimestamps extends Plugin {
newEl.createEl('span', { text: timestampSlices[i], cls: 'discord-timestamps' }).ariaLabel = timestampHover[i]
}
}
if (text !== "") {
newEl.appendText(text);
}

element.replaceWith(newEl);
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "discord-timestamps",
"name": "Discord Timestamps",
"version": "1.0.3",
"version": "1.0.4",
"minAppVersion": "1.7.7",
"description": "Displays discord timestamps in read mode as they would appear in Discord.",
"author": "Erika Gozar",
Expand Down

0 comments on commit a339007

Please sign in to comment.