forked from AuroraMiddleware/gtk
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
1661e2888a
commit
9b394d8753
@ -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