]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix triple-pane theme
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 28 Mar 2011 07:33:41 +0000 (11:33 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 28 Mar 2011 07:33:41 +0000 (11:33 +0400)
themes/triple-pane/theme.js
tt-rss.js

index 2fddab03b551831d1e9840132a58c8b6c6cc38da..ff3506b081b92a00547dc03e17253db0958a8cb0 100644 (file)
@@ -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',
+               });
 }
index d439c37ede6a6f86c62572c233192b598af9da31..ac85b78211d1655f93e801b7de8fa393075ac8a8 100644 (file)
--- 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();