mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-12 10:40:43 +09:00
fixes
This commit is contained in:
parent
2b5650636e
commit
dcc3f7c3f8
2 changed files with 7 additions and 2 deletions
4
dist/embed/iframe.html
vendored
4
dist/embed/iframe.html
vendored
|
@ -34,6 +34,10 @@
|
|||
|
||||
window.addEventListener('resize', resize);
|
||||
|
||||
window.addEventListener('error', e => {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
function resize (e) {
|
||||
window.parent.postMessage({ height: document.documentElement.scrollHeight }, '*');
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue