mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 05:00:13 -05:00
Fix focus method not working in Firefox.
This commit is contained in:
parent
e3ee4dad12
commit
64b8f9affa
2 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
@ -187,6 +187,9 @@
|
|||
// --- Focus ---
|
||||
|
||||
var focus = function () {
|
||||
// FF seems to need the body to be focussed
|
||||
// (at least on first load).
|
||||
body.focus();
|
||||
win.focus();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue