Added blurring of active element on post edit
Integrates better with vimperator.
This commit is contained in:
parent
c569504ce7
commit
4126de8e25
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,8 @@ App.Presenters.PostEditPresenter = function(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document.activeElement).blur();
|
||||||
|
|
||||||
promise.wait(api.post('/posts/' + post.id, formData))
|
promise.wait(api.post('/posts/' + post.id, formData))
|
||||||
.then(function(response) {
|
.then(function(response) {
|
||||||
tagList.refreshTags();
|
tagList.refreshTags();
|
||||||
|
|
Loading…
Reference in a new issue