0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Automatically focus title on editor

closes #719
This commit is contained in:
Hannah Wolfe 2013-09-15 17:10:57 +01:00
parent 27a78c82e4
commit 88a226b82e

View file

@ -254,7 +254,7 @@
// Add the container view for the Publish Bar
this.addSubview(new PublishBar({el: "#publish-bar", model: this.model})).render();
this.$('#entry-title').val(this.model.get('title'));
this.$('#entry-title').val(this.model.get('title')).focus();
this.$('#entry-markdown').html(this.model.get('markdown'));
this.initMarkdown();