focus content pane on view() (closes #312)
This commit is contained in:
parent
1c848491b6
commit
53fd549523
|
@ -207,7 +207,11 @@ function render_article(article) {
|
||||||
|
|
||||||
c.attr('content', article);
|
c.attr('content', article);
|
||||||
|
|
||||||
correctHeadlinesOffset(getActiveArticleId());
|
correctHeadlinesOffset(getActiveArticleId());
|
||||||
|
|
||||||
|
try {
|
||||||
|
c.focus();
|
||||||
|
} catch (e) { };
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("render_article", e);
|
exception_error("render_article", e);
|
||||||
|
|
Loading…
Reference in New Issue