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;