summaryrefslogtreecommitdiff
path: root/js/Article.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-04 13:40:47 +0300
committerAndrew Dolgov <[email protected]>2018-12-04 13:40:47 +0300
commitf6e287df110b2046643551aaae70917c61b061c9 (patch)
tree0781c1aaa6a7f17671d50e3c199f077d4463f9b7 /js/Article.js
parent8e46857a75578cb555a653132b44a612cdad056a (diff)
remove 4px margin of cdm.expanded
Diffstat (limited to 'js/Article.js')
-rw-r--r--js/Article.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Article.js b/js/Article.js
index 35101a1f8..f2c4007f5 100644
--- a/js/Article.js
+++ b/js/Article.js
@@ -234,7 +234,7 @@ define(["dojo/_base/declare"], function (declare) {
e.offsetTop < ctr.scrollTop) {
// expanded cdm has a 4px margin now
- ctr.scrollTop = parseInt(e.offsetTop) - 4;
+ ctr.scrollTop = e.offsetTop;
Element.hide("floatingTitle");
}