Revert "Upstream 20240517"
This commit is contained in:
parent
9c006fd893
commit
f6dec44e95
2347 changed files with 26470 additions and 87494 deletions
public
|
@ -31,8 +31,6 @@
|
|||
|
||||
var iframe = iframes.get(data.id);
|
||||
|
||||
if(!iframe) return;
|
||||
|
||||
if ('source' in e && iframe.contentWindow !== e.source) {
|
||||
return;
|
||||
}
|
||||
|
@ -40,7 +38,7 @@
|
|||
iframe.height = data.height;
|
||||
});
|
||||
|
||||
document.querySelectorAll('iframe.mastodon-embed').forEach(iframe => {
|
||||
[].forEach.call(document.querySelectorAll('iframe.mastodon-embed'), function (iframe) {
|
||||
// select unique id for each iframe
|
||||
var id = 0, failCount = 0, idBuffer = new Uint32Array(1);
|
||||
while (id === 0 || iframes.has(id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue