Merge branch 'main' into fix/video-embeds

This commit is contained in:
StarWarsK
2026-07-28 03:33:52 +02:00
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;