From c068b98b72a2d6b6819f0f6657ca0e1539d22f0c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 14 May 2013 15:28:13 +0400 Subject: add some subtle css shadows --- js/viewfeed.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/viewfeed.js') 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']; -- cgit v1.2.3