mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-23 07:29:55 +00:00
fix ogg
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
@@ -1129,7 +1129,6 @@ class MarkDown {
|
||||
box.onpaste = (_) => {
|
||||
if (!_.clipboardData) return;
|
||||
const types = _.clipboardData.types;
|
||||
console.log(types);
|
||||
if (types.includes("Files")) {
|
||||
_.preventDefault();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user