Skip to content

Commit

Permalink
fix: Fixes title display in admonition creation modal
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Mar 29, 2022
1 parent f8d37ac commit 1a73421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ class SettingsModal extends Modal {
this.updateTitle(
this.admonitionPreview,
this.type?.[0].toUpperCase() +
title.slice(1).toLowerCase()
this.type?.slice(1).toLowerCase()
);
});
});
Expand Down

0 comments on commit 1a73421

Please sign in to comment.