mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
Issue #1633 - Ensure focus on click
This is necessary to give back focus to the Broadway elements when content is embedded in an IFrame. Signed-off-by: Mickael Istria <mistria@redhat.com>
This commit is contained in:
parent
25e199e7b7
commit
14010899b5
@ -10,6 +10,6 @@ body { overflow: hidden; }
|
||||
<script type="text/javascript" src="broadway.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="connect()">
|
||||
<body onload="connect()" onclick="if (!document.hasFocus() && window.topElement !== window.self) { window.focus(); }">
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user