only enable unpack observer in expanded mode
This commit is contained in:
parent
7a2e9bef77
commit
a1ffc11619
|
@ -368,6 +368,8 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
Article.cdmMoveToId(id, {noscroll: true});
|
||||
else
|
||||
Article.view(id);
|
||||
|
||||
Article.unpack(row);
|
||||
}
|
||||
|
||||
if (hl.selected) this.select("all", id);
|
||||
|
@ -375,6 +377,8 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
});
|
||||
|
||||
$$(".cdm .header-sticky-guard").each((e) => { this.sticky_header_observer.observe(e) });
|
||||
|
||||
if (App.getInitParam("cdm_expanded"))
|
||||
$$("#headlines-frame > div[id*=RROW].cdm").each((e) => { this.unpack_observer.observe(e) });
|
||||
|
||||
},
|
||||
|
@ -686,6 +690,8 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
}
|
||||
|
||||
$$(".cdm .header-sticky-guard").each((e) => { this.sticky_header_observer.observe(e) });
|
||||
|
||||
if (App.getInitParam("cdm_expanded"))
|
||||
$$("#headlines-frame > div[id*=RROW].cdm").each((e) => { this.unpack_observer.observe(e) });
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue