forked from 0x2620/pandora
minor reformatting
This commit is contained in:
parent
1dec240e0f
commit
a52cba2ae3
1 changed files with 4 additions and 2 deletions
|
@ -74,8 +74,10 @@ pandora.ui.clipList = function(videoRatio) {
|
||||||
// if the item query contains a layer condition,
|
// if the item query contains a layer condition,
|
||||||
// then this condition is added to the clip query
|
// then this condition is added to the clip query
|
||||||
itemsQuery.conditions.forEach(function(condition) {
|
itemsQuery.conditions.forEach(function(condition) {
|
||||||
if (condition.key == 'annotations'
|
if (
|
||||||
|| Ox.getIndexById(pandora.site.layers, condition.key) > -1) {
|
condition.key == 'annotations'
|
||||||
|
|| Ox.getIndexById(pandora.site.layers, condition.key) > -1
|
||||||
|
) {
|
||||||
query.conditions.push(condition);
|
query.conditions.push(condition);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue