]> git.wh0rd.org - tt-rss.git/blobdiff - js/tt-rss.js
block automarking headlines on scroll in unexpanded cdm because it doesn't work so...
[tt-rss.git] / js / tt-rss.js
index d273500dca5eec509b72184c5a3c4a606c387ef9..e3731c0cbf11c84883f4d5dab52314711e533d65 100644 (file)
@@ -548,10 +548,7 @@ function init_second_stage() {
                        closeArticlePanel();
 
                        _widescreen_mode = getInitParam("widescreen");
-
-                       if (_widescreen_mode) {
-                               switchPanelMode(_widescreen_mode);
-                       }
+                       switchPanelMode(_widescreen_mode);
 
                        if (parseInt(getCookie("ttrss_fh_width")) > 0) {
                                dijit.byId("feeds-holder").domNode.setStyle(
@@ -1063,6 +1060,7 @@ function switchPanelMode(wide) {
                                borderTopWidth: '0px' });
 
                        $("headlines-toolbar").setStyle({ borderBottomWidth: '0px' });
+                       $("headlines-frame").setStyle({ borderBottomWidth: '0px' });
 
                } else {
 
@@ -1074,6 +1072,8 @@ function switchPanelMode(wide) {
                                borderTopWidth: '1px'});
 
                        $("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
+
+                       $("headlines-frame").setStyle({ borderBottomWidth: '1px' });
                }
 
                closeArticlePanel();