Skip to content

Commit

Permalink
Better existence check
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 15, 2013
1 parent a8cc38c commit 1d1497c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/js/compose-dimp.js
Expand Up @@ -682,9 +682,9 @@ var DimpCompose = {

focusEditor: function()
{
try {
if (this.rte.focus) {
this.rte.focus();
} catch (e) {
} else {
this.focusEditor.bind(this).defer();
}
},
Expand Down

0 comments on commit 1d1497c

Please sign in to comment.