From d9613843f6daeb7a18a981bce06e920e75ade46f Mon Sep 17 00:00:00 2001 From: Mathium05 Date: Mon, 27 Jul 2026 20:28:56 -0500 Subject: [PATCH] fix ogg --- src/webpage/file.ts | 2 +- src/webpage/markdown.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/webpage/file.ts b/src/webpage/file.ts index effefbf..710ffe5 100644 --- a/src/webpage/file.ts +++ b/src/webpage/file.ts @@ -151,7 +151,7 @@ class File { return div; } return video; - } else if (this.content_type.startsWith("audio/")) { + } else if (this.content_type.startsWith("audio/") || this.content_type === "application/ogg") { const a = this.getAudioHTML(url); if (OSpoiler) { a.append(makeSpoilerHTML()); diff --git a/src/webpage/markdown.ts b/src/webpage/markdown.ts index 74c17bd..f826ca7 100644 --- a/src/webpage/markdown.ts +++ b/src/webpage/markdown.ts @@ -1129,7 +1129,6 @@ class MarkDown { box.onpaste = (_) => { if (!_.clipboardData) return; const types = _.clipboardData.types; - console.log(types); if (types.includes("Files")) { _.preventDefault(); return;