We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff848fe commit 725132cCopy full SHA for 725132c
1 file changed
isso/js/app/isso.js
@@ -81,8 +81,14 @@ var Postbox = function(parent) {
81
$(".isso-preview .isso-text", el).innerHTML = '';
82
el.classList.remove('isso-preview-mode');
83
};
84
- $("[name='edit']", el).on("click", edit);
85
- $(".isso-preview", el).on("click", edit);
+ $("[name='edit']", el).on("click", function() {
+ edit();
86
+ $(".isso-textarea", el).focus();
87
+ });
88
+ $(".isso-preview", el).on("click", function() {
89
90
91
92
93
// submit form, initialize optional fields with `null` and reset form.
94
// If replied to a comment, remove form completely.
0 commit comments