From 88a226b82ec47c04a06b321063e5fa862ac2d75e Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sun, 15 Sep 2013 17:10:57 +0100 Subject: [PATCH] Automatically focus title on editor closes #719 --- ghost/admin/views/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/views/editor.js b/ghost/admin/views/editor.js index f1c27b3b03..172139c04f 100644 --- a/ghost/admin/views/editor.js +++ b/ghost/admin/views/editor.js @@ -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();