summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-20 02:20:40 +0100
committerAndrew Dolgov <[email protected]>2008-05-20 02:20:40 +0100
commit228e167bbe0c17a708144ca042b1635f030832dd (patch)
tree91b80c9536a0b3a95631ac0a75d41729ed2799f7 /tt-rss.js
parent26f9ed70bd8d6c22358187fba866b800c3d8892d (diff)
graycube, compat: make compatible with grabber
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/tt-rss.js b/tt-rss.js
index b8ee2bb14..aff147cb0 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -394,7 +394,12 @@ function resize_headlines(delta_x, delta_y) {
c_frame.style.top = (h_frame.offsetTop + h_frame.offsetHeight + 1) + "px";
h_frame.style.height = h_frame.offsetHeight + "px";
- resize_grab.style.top = (h_frame.offsetTop + h_frame.offsetHeight - 4) + "px";
+ var theme_c = 0;
+
+ if (getInitParam("theme") == "graycube") theme_c = 1;
+
+ resize_grab.style.top = (h_frame.offsetTop + h_frame.offsetHeight -
+ 4 - theme_c) + "px";
resize_grab.style.display = "block";
} else {