From: Andrew Dolgov Date: Wed, 23 Jan 2013 11:28:59 +0000 (+0400) Subject: switchPanelMode: fix css manipulation for firefox X-Git-Tag: 1.7.0~26 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fd535b317cc55bf5f7e279f6bfcef514fcaafea5;p=tt-rss.git switchPanelMode: fix css manipulation for firefox --- diff --git a/js/tt-rss.js b/js/tt-rss.js index a5d01f6a..ab1ab53d 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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();