]> git.wh0rd.org - tt-rss.git/commitdiff
limit fade effect on feedlist to non-cdm mode
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 18 Oct 2007 02:21:37 +0000 (03:21 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 18 Oct 2007 02:21:37 +0000 (03:21 +0100)
feedlist.js

index 904638ce0f15ef5f6b6db01b08e2292c8af632b1..777119a3399353d3e9e4d33897621b40477894ae 100644 (file)
@@ -142,9 +142,9 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
 
                var container = document.getElementById("headlinesInnerContainer");
 
-               if (container && page_offset == 0) {
+               if (container && page_offset == 0 && !isCdmMode()) {
                        new Effect.Fade(container, {duration: 1, to: 0.01,
-                               queue: { position:'end', scope: 'FeED-' + feed, limit: 1 } } );
+                               queue: { position:'end', scope: 'FEEDL-' + feed, limit: 1 } } );
                }
 
                new Ajax.Request(query, {