This commit is contained in:
Mathium05
2026-07-27 20:28:56 -05:00
parent 8cb19383e5
commit d9613843f6
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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());
-1
View File
@@ -1129,7 +1129,6 @@ class MarkDown {
box.onpaste = (_) => {
if (!_.clipboardData) return;
const types = _.clipboardData.types;
console.log(types);
if (types.includes("Files")) {
_.preventDefault();
return;