godot/platform/javascript/js
Fabio Alessandrelli f11bed249b
[HTML5] Fix focus (again) in Firefox's iframes.
This actually makes sense(?), when running inside an iframe the active
element might be our canvas, while the iframe itself is not active in
the parent window. Since we consume the event, the iframe does not get
focused in Firefox (but does in Chromium-based browsers), so we must
always call focus to handle such occasions.

(cherry picked from commit 63e2db2499)
2021-11-26 10:42:56 +01:00
..
engine [HTML5] Add option to focus canvas on start. 2021-06-29 14:02:23 +02:00
jsdoc2rst [HTML5] Add jsdoc2rst tool. 2021-02-26 15:35:45 +01:00
libs [HTML5] Fix focus (again) in Firefox's iframes. 2021-11-26 10:42:56 +01:00