focus content pane on view() (closes #312)

This commit is contained in:
Andrew Dolgov 2011-01-31 13:10:54 +03:00
parent 1c848491b6
commit 53fd549523

View file

@ -207,7 +207,11 @@ function render_article(article) {
c.attr('content', article);
correctHeadlinesOffset(getActiveArticleId());
correctHeadlinesOffset(getActiveArticleId());
try {
c.focus();
} catch (e) { };
} catch (e) {
exception_error("render_article", e);