Removed autofocus on placeholders.

This commit is contained in:
Martin Edenhofer 2014-12-17 13:58:23 +01:00
parent 406eae642d
commit 303cc0f9fe

View file

@ -1672,7 +1672,8 @@
if ( s.mode !== Medium.inlineMode && s.mode !== Medium.inlineRichMode ) {
utils.setupContents();
if (childCount === 0 && el.firstChild) {
// set auto focus
if (this.settings.autofocus && childCount === 0 && el.firstChild) {
cursor.set(0, el.firstChild);
}
}