minor reformatting

This commit is contained in:
rolux 2012-06-20 17:41:17 +00:00
parent 1dec240e0f
commit a52cba2ae3

View file

@ -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);
} }
}); });