Small bugfixes

This commit is contained in:
Ludovic Stephan 2017-04-04 19:52:12 -03:00
parent cb28b928c4
commit 021937a38e
2 changed files with 2 additions and 2 deletions

View file

@ -482,7 +482,7 @@ class ArticleManager {
} }
focus() { focus() {
if this.is_empty() if (this.is_empty())
this._$input.focus(); this._$input.focus();
else else
this._$nb.focus(); this._$nb.focus();

View file

@ -191,7 +191,7 @@ $(document).ready(function() {
commentDialog.open({ commentDialog.open({
callback: confirm_callback, callback: confirm_callback,
next_focus: kpsul.article_manager; next_focus: kpsul.article_manager,
}); });
} }