layout: Fix the actor tracking parameter parsing
It's not appropriate to inherit from the parent property if we pass "false" as a value, especially when all current parameters are booleans. https://bugzilla.gnome.org/show_bug.cgi?id=660608
This commit is contained in:
parent
77c36af588
commit
a3528bf973
@ -625,7 +625,7 @@ Chrome.prototype = {
|
|||||||
// We can't use Params.parse here because we want to drop
|
// We can't use Params.parse here because we want to drop
|
||||||
// the extra values like ancestorData.actor
|
// the extra values like ancestorData.actor
|
||||||
for (let prop in defaultParams) {
|
for (let prop in defaultParams) {
|
||||||
if (!params[prop])
|
if (!params.hasOwnProperty(prop))
|
||||||
params[prop] = ancestorData[prop];
|
params[prop] = ancestorData[prop];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user