summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-01-27 19:03:35 +0400
committerAndrew Dolgov <[email protected]>2014-01-27 19:03:35 +0400
commitd44f3da4be8fc11543765b9dcc2743083bfd8be0 (patch)
treebe554400c26cd0b02bd5c8f940af975ef531ee3d /js/tt-rss.js
parent8d53c81874faabe9f0c78922a4d263ee5f067082 (diff)
default theme updates
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 04aec0cca..97a70b434 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -550,9 +550,6 @@ function init_second_stage() {
updateFeedList();
closeArticlePanel();
- _widescreen_mode = getInitParam("widescreen");
- switchPanelMode(_widescreen_mode);
-
if (parseInt(getCookie("ttrss_fh_width")) > 0) {
dijit.byId("feeds-holder").domNode.setStyle(
{width: getCookie("ttrss_fh_width") + "px" });
@@ -624,6 +621,9 @@ function init_second_stage() {
hotkeys[1] = tmp;
setInitParam("hotkeys", hotkeys);
+ _widescreen_mode = getInitParam("widescreen");
+ switchPanelMode(_widescreen_mode);
+
console.log("second stage ok");
if (getInitParam("simple_update")) {
@@ -1064,11 +1064,8 @@ function switchPanelMode(wide) {
dijit.byId("content-insert").domNode.setStyle({width: '50%',
height: 'auto',
- borderLeftWidth: '1px',
- borderLeftColor: '#c0c0c0',
borderTopWidth: '0px' });
- $("headlines-toolbar").setStyle({ borderBottomWidth: '0px' });
$("headlines-frame").setStyle({ borderBottomWidth: '0px' });
$("headlines-frame").addClassName("wide");
@@ -1078,11 +1075,8 @@ function switchPanelMode(wide) {
dijit.byId("content-insert").domNode.setStyle({width: 'auto',
height: '50%',
- borderLeftWidth: '0px',
borderTopWidth: '1px'});
- $("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
-
$("headlines-frame").setStyle({ borderBottomWidth: '1px' });
$("headlines-frame").removeClassName("wide");