Fixes #32, Focus new notes automatically
This broke between Fx 3.6 and 11. Focusing the iframe first fixes it.
This commit is contained in:
parent
1c7ac1a9a0
commit
fa3910f436
1 changed files with 2 additions and 0 deletions
|
@ -319,6 +319,7 @@
|
|||
<body>
|
||||
<![CDATA[
|
||||
if (this._editor) {
|
||||
this._iframe.focus();
|
||||
this._editor.focus();
|
||||
this._focus = false;
|
||||
}
|
||||
|
@ -403,6 +404,7 @@
|
|||
self.value = self._value;
|
||||
}
|
||||
if (self._focus) {
|
||||
self._iframe.focus();
|
||||
self._editor.focus();
|
||||
self._focus = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue