diff --git a/themes/triple-pane/theme.js b/themes/triple-pane/theme.js index 2fddab03b..ff3506b08 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 d439c37ed..ac85b7821 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();