parent
2db9ccaf3e
commit
d1a78eba15
10 changed files with 186 additions and 2 deletions
|
@ -45,6 +45,10 @@ function main() {
|
|||
window.open(e.target.href, 'mastodon-intent', 'width=400,height=400,resizable=no,menubar=no,status=no,scrollbars=yes');
|
||||
});
|
||||
});
|
||||
|
||||
if (window.parent) {
|
||||
window.parent.postMessage(['setHeight', document.getElementsByTagName('html')[0].scrollHeight], '*');
|
||||
}
|
||||
});
|
||||
|
||||
delegate(document, '.video-player video', 'click', ({ target }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue