]> git.wh0rd.org - tt-rss.git/blobdiff - themes/triple-pane/theme.js
fix triple-pane theme
[tt-rss.git] / themes / triple-pane / theme.js
index 0880553066e117fc88c616ce57bfcdbd5484b355..ff3506b081b92a00547dc03e17253db0958a8cb0 100644 (file)
@@ -1,14 +1,16 @@
 function themeBeforeLayout() {
-       $("headlines-wrap-inner").setAttribute("design", 'sidebar');
-       $("content-insert").setAttribute("region", "trailing");
-       $("content-insert").setStyle({
-               width: '50%',
-               height: 'auto'});
+       if ($("content-insert")) {
+               $("headlines-wrap-inner").setAttribute("design", 'sidebar');
+               $("content-insert").setAttribute("region", "trailing");
+               $("content-insert").setStyle({
+                       width: '50%',
+                       height: 'auto'});
+       }
 }
 
 function themeAfterLayout() {
        $("headlines-toolbar").setStyle({
-               'border-right-width': '1px',
+               'border-width': '1px 1px 0px 0px',
                'border-color': '#88b0f0',
                });
 }