mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
8fe4c0c76e
Previously, event handlers would not work when an app was mounted in an iframe, this is caused by a guard in the event handler that checks that the target element is still in the document, but it doesn't check against the correct document in the case of an iframe. This commit changes the check to check against the target's ownerDocument.