Skip to content

Commit 0861fad

Browse files
committed
Improved x-load capability support (thanks Adithya Suresh Kumar for reporting).
1 parent aa8e7c0 commit 0861fad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/content/eventsHook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if (location.protocol == "file:") {
7575
} catch (e) {
7676
error(e);
7777
}
78-
el.srcset = el.src = "data:"
78+
el.srcset = el.src = "data:";
7979
blockedList.add(el);
8080
};
8181

src/content/eventsHook.main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ if (location.protocol == "file:") {
7171
}
7272
};
7373
xray.proxify("Image", constructorHandler);
74+
xray.proxify("Audio", constructorHandler);
7475
}
7576

7677
Worlds.connect("eventsHook.main", {

0 commit comments

Comments
 (0)