triple-pane: do not try to rework UI using javascript while in CDM
This commit is contained in:
parent
622586166a
commit
f52df691c3
1 changed files with 13 additions and 9 deletions
|
@ -1,14 +1,18 @@
|
||||||
function themeBeforeLayout() {
|
function themeBeforeLayout() {
|
||||||
$("headlines-wrap-inner").setAttribute("design", 'sidebar');
|
if ($("content-insert")) {
|
||||||
$("content-insert").setAttribute("region", "trailing");
|
$("headlines-wrap-inner").setAttribute("design", 'sidebar');
|
||||||
$("content-insert").setStyle({
|
$("content-insert").setAttribute("region", "trailing");
|
||||||
width: '50%',
|
$("content-insert").setStyle({
|
||||||
height: 'auto'});
|
width: '50%',
|
||||||
|
height: 'auto'});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function themeAfterLayout() {
|
function themeAfterLayout() {
|
||||||
$("headlines-toolbar").setStyle({
|
if ($("content-insert")) {
|
||||||
'border-right-width': '1px',
|
$("headlines-toolbar").setStyle({
|
||||||
'border-color': '#88b0f0',
|
'border-right-width': '1px',
|
||||||
});
|
'border-color': '#88b0f0',
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue