]> git.wh0rd.org Git - tt-rss.git/commitdiff
switchPanelMode: fix css manipulation for firefox
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 23 Jan 2013 11:28:59 +0000 (15:28 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 23 Jan 2013 11:28:59 +0000 (15:28 +0400)
js/tt-rss.js

index a5d01f6a50a88064cca8742925f352f1d7841057..ab1ab53d216718d8489c1eac3515e9b556772233 100644 (file)
@@ -1011,9 +1011,9 @@ function switchPanelMode(wide) {
 
                        dijit.byId("content-insert").domNode.setStyle({width: '50%',
                                height: 'auto',
-                               'border-top-width': '0px' });
+                               borderTopWidth: '0px' });
 
-                       $("headlines-toolbar").setStyle({ 'border-bottom-width': '0px' });
+                       $("headlines-toolbar").setStyle({ borderBottomWidth: '0px' });
 
                } else {
 
@@ -1021,9 +1021,9 @@ function switchPanelMode(wide) {
 
                        dijit.byId("content-insert").domNode.setStyle({width: 'auto',
                                height: '50%',
-                               'border-top-width': '1px'});
+                               borderTopWidthidth: '1px'});
 
-                       $("headlines-toolbar").setStyle({ 'border-bottom-width': '1px' });
+                       $("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
                }
 
                closeArticlePanel();