diff options
author | justauser <[email protected]> | 2013-05-28 11:39:58 -0400 |
---|---|---|
committer | justauser <[email protected]> | 2013-05-28 11:39:58 -0400 |
commit | 991418fa566ff462d9616123168c5f7f839cdc15 (patch) | |
tree | 806d31367dbf0833511deafb1b73f88f892ad9cb /js | |
parent | 2e937560dfada30b398760308ce11f08c205d468 (diff) | |
parent | 1d7658969352ee73dd94baf3cea15364dd303786 (diff) |
Merge branch 'master' into jremote
update working to master
Diffstat (limited to 'js')
-rw-r--r-- | js/viewfeed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index 095bfab22..005e0758c 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -590,7 +590,7 @@ function moveToPost(mode, noscroll, noexpand) { if (!getInitParam("cdm_expanded")) { - if (!noscroll && article.offsetTop < ctr.scrollTop) { + if (!noscroll && article && article.offsetTop < ctr.scrollTop) { scrollArticle(-ctr.offsetHeight/4); } else { cdmExpandArticle(prev_id, noexpand); |