From: Andrew Dolgov Date: Mon, 28 Mar 2011 07:33:41 +0000 (+0400) Subject: fix triple-pane theme X-Git-Tag: 1.5.3~109 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d80b3f3de1e65739ca8c353e137df9e505a33bde;p=tt-rss.git fix triple-pane theme --- 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();