fix: ✏️ Typo

This commit is contained in:
ThatOneCalculator 2022-03-23 13:27:15 -07:00
parent 30cc4c3890
commit 02f91b3f8d
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ function viewPaste(content: string, views: string) {
for (let i = 1; i <= content.split("\n").length; i++) {
lineNumbers.innerHTML = lineNumbers.innerHTML + `${i}<br>`
}
if (content.startsWith("---") or content.startsWith("md ")) {
if (content.startsWith("---") || content.startsWith("md ")) {
codeView.innerHTML = marked.parse(content.substring(3))
hide(lineNumbers)
} else {