summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-14 15:28:13 +0400
committerAndrew Dolgov <[email protected]>2013-05-14 15:28:16 +0400
commitc068b98b72a2d6b6819f0f6657ca0e1539d22f0c (patch)
tree013cb483c81f60b52f044aed981c93644c5382c5 /js
parent7b32ee7e40cfe12e5d2ee72a0d63a69e82fb5d45 (diff)
add some subtle css shadows
Diffstat (limited to 'js')
-rw-r--r--js/viewfeed.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index da3628349..dc8d3fe88 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -58,6 +58,11 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
}
} catch (e) { };
+ $("headlines-frame").removeClassName("cdm");
+ $("headlines-frame").removeClassName("normal");
+
+ $("headlines-frame").addClassName(isCdmMode() ? "cdm" : "normal");
+
var headlines_count = reply['headlines-info']['count'];
vgroup_last_feed = reply['headlines-info']['vgroup_last_feed'];