1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-12 10:40:43 +09:00
This commit is contained in:
Andrew Simachev 2023-11-08 14:38:56 +01:00
parent 2b5650636e
commit dcc3f7c3f8
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
2 changed files with 7 additions and 2 deletions

View file

@ -34,6 +34,10 @@
window.addEventListener('resize', resize);
window.addEventListener('error', e => {
e.preventDefault();
});
function resize (e) {
window.parent.postMessage({ height: document.documentElement.scrollHeight }, '*');
};