mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Small improvements
This commit is contained in:
parent
1b86e85df2
commit
7b5d00ff01
12 changed files with 52 additions and 14 deletions
|
|
@ -365,7 +365,7 @@
|
|||
return false;
|
||||
};
|
||||
|
||||
Utils.removeInFocus = function ()
|
||||
Utils.removeInFocus = function (force)
|
||||
{
|
||||
if (window.document && window.document.activeElement && window.document.activeElement.blur)
|
||||
{
|
||||
|
|
@ -374,6 +374,12 @@
|
|||
{
|
||||
window.document.activeElement.blur();
|
||||
}
|
||||
else if (force)
|
||||
{
|
||||
try {
|
||||
window.document.activeElement.blur();
|
||||
} catch (e) {}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue