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:
Dan Stillman 2012-04-16 05:05:31 -04:00
parent 1c7ac1a9a0
commit fa3910f436

View file

@ -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;
}