mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-08 06:09:17 +00:00
triple-pane: do not try to rework UI using javascript while in CDM
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
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-color': '#88b0f0',
|
||||
});
|
||||
if ($("content-insert")) {
|
||||
$("headlines-toolbar").setStyle({
|
||||
'border-right-width': '1px',
|
||||
'border-color': '#88b0f0',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user