mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-12 11:40:31 +08:00
Few style changes; Task gets appended now but mispositioned cursor +
duplication issues
This commit is contained in:
@@ -26,7 +26,10 @@ var app = app || {};
|
||||
var taskView = new app.TaskView({
|
||||
model: task
|
||||
});
|
||||
this.$el.append(taskView.render().el);
|
||||
var a = taskView.render();
|
||||
this.$el.append(a.el);
|
||||
a.$input.focus();
|
||||
console.log(a.$input.prop('selectionStart'));
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user