From d80b3f3de1e65739ca8c353e137df9e505a33bde Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Mar 2011 11:33:41 +0400 Subject: [PATCH] fix triple-pane theme --- themes/triple-pane/theme.js | 10 ++++------ tt-rss.js | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/themes/triple-pane/theme.js b/themes/triple-pane/theme.js index 2fddab03..ff3506b0 100644 --- a/themes/triple-pane/theme.js +++ b/themes/triple-pane/theme.js @@ -9,10 +9,8 @@ function themeBeforeLayout() { } function themeAfterLayout() { - if ($("content-insert")) { - $("headlines-toolbar").setStyle({ - 'border-right-width': '1px', - 'border-color': '#88b0f0', - }); - } + $("headlines-toolbar").setStyle({ + 'border-width': '1px 1px 0px 0px', + 'border-color': '#88b0f0', + }); } diff --git a/tt-rss.js b/tt-rss.js index d439c37e..ac85b782 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -278,12 +278,12 @@ function init() { dojo.require("fox.FeedTree"); - dojo.parser.parse(); - if (typeof themeBeforeLayout == 'function') { themeBeforeLayout(); } + dojo.parser.parse(); + dojo.addOnLoad(function() { updateFeedList(); closeArticlePanel(); -- 2.39.5