summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-06-06 10:15:17 +0400
committerAndrew Dolgov <[email protected]>2013-06-06 10:15:17 +0400
commit15a829013c6a04615ad98ecf636d0365f89d5923 (patch)
treeacb1c684d95fbd9e32c5412936518b3b5b0e232a /js/tt-rss.js
parent19b906b94bc6c53af01484bb7d02c8199d210cf0 (diff)
remove single-line excerpts in widescreen 3panel mode because it breaks layout
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index e3731c0cb..9a6db2359 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -1061,6 +1061,7 @@ function switchPanelMode(wide) {
$("headlines-toolbar").setStyle({ borderBottomWidth: '0px' });
$("headlines-frame").setStyle({ borderBottomWidth: '0px' });
+ $("headlines-frame").addClassName("wide");
} else {
@@ -1074,6 +1075,8 @@ function switchPanelMode(wide) {
$("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
$("headlines-frame").setStyle({ borderBottomWidth: '1px' });
+ $("headlines-frame").removeClassName("wide");
+
}
closeArticlePanel();