Added blurring of active element on post edit

Integrates better with vimperator.
This commit is contained in:
Marcin Kurczewski 2015-05-14 23:13:55 +02:00
parent c569504ce7
commit 4126de8e25

View file

@ -126,6 +126,8 @@ App.Presenters.PostEditPresenter = function(
return;
}
$(document.activeElement).blur();
promise.wait(api.post('/posts/' + post.id, formData))
.then(function(response) {
tagList.refreshTags();