Sven 11 месяцев назад
Родитель
Сommit
5881427765
2 измененных файлов с 4 добавлено и 0 удалено
  1. 3 0
      changelog.md
  2. 1 0
      src/dialogs/versionNotif.ts

+ 3 - 0
changelog.md

@@ -1,3 +1,6 @@
+<!-- I messed up with the changelog parsing so this is just how it will have to be -->
+<div class="split"></div>
+
 ## 2.0.0
 - **Added features:**
 	- Keep the volume synced between tabs

+ 1 - 0
src/dialogs/versionNotif.ts

@@ -17,6 +17,7 @@ export async function getVersionNotifDialog({
 }: VersionNotifDialogRenderProps) {
   if(!verNotifDialog) {
     const changelogMdFull = await getChangelogMd();
+    // I messed up because this should be 0 so the changelog will always need to have an extra div at the top for backwards compatibility
     const changelogMd = changelogMdFull.split("<div class=\"split\">")[1];
     const changelogHtml = await parseMarkdown(changelogMd);