switchPanelMode: fix css manipulation for firefox

This commit is contained in:
Andrew Dolgov 2013-01-23 15:28:59 +04:00
parent 1610cdce82
commit fd535b317c
1 changed files with 4 additions and 4 deletions

View File

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