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
1 changed files with 5 additions and 1 deletions

View File

@ -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);