update filter select css

This commit is contained in:
rolux 2012-12-10 19:13:23 +01:00
parent b34104a6c4
commit 30850ccd81

View file

@ -160,8 +160,8 @@ pandora.ui.filter = function(id) {
filters[i].sort = [{key: data.key, operator: data.operator}]; filters[i].sort = [{key: data.key, operator: data.operator}];
pandora.UI.set({filters: filters}); pandora.UI.set({filters: filters});
} }
}); }),
Ox.Select({ $select = Ox.Select({
items: Ox.clone(pandora.site.filters), items: Ox.clone(pandora.site.filters),
max: 1, max: 1,
min: 1, min: 1,
@ -226,6 +226,12 @@ pandora.ui.filter = function(id) {
} }
}) })
.appendTo(that.$bar.$element); .appendTo(that.$bar.$element);
Ox.UI.SCROLLBAR_SIZE < 16 && $($select.find('input')[0]).css({
marginRight: '-3px',
marginTop: '1px',
width: '8px',
height: '8px'
});
return that; return that;
}; };