diff options
author | Andrew Dolgov <[email protected]> | 2020-05-09 08:16:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-05-09 08:16:10 +0300 |
commit | a39c189201f6eb18d8df5094b91e6cc0885c6b3b (patch) | |
tree | 5f194ea60464cc06967f1f5563ad0a49c4515445 | |
parent | 7b22d2f488cbec11003a6d18638a30e0d8dc3087 (diff) |
rename cdmScrollToId to cdmMoveToId
prevent smooth scrolling when going directly to an article
-rwxr-xr-x | init.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) { Article.setActive(id); if (!App.getInitParam("cdm_expanded")) - Article.cdmScrollToId(id); + Article.cdmMoveToId(id); } else if (in_body) { Headlines.toggleUnread(id, 0); } |