0
Fork 0
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:
Neil Jenkins 2012-02-08 23:23:55 +11:00
parent e3ee4dad12
commit 64b8f9affa
2 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -187,6 +187,9 @@
// --- Focus --- // --- Focus ---
var focus = function () { var focus = function () {
// FF seems to need the body to be focussed
// (at least on first load).
body.focus();
win.focus(); win.focus();
}; };