forked from 0x2620/pandora
minor cleanup
This commit is contained in:
parent
b331137054
commit
0d71925daa
3 changed files with 2 additions and 9 deletions
|
@ -252,6 +252,3 @@ pandora.ui.editor = function(data) {
|
||||||
return that;
|
return that;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -77,11 +77,7 @@ pandora.ui.listDialog = function(section) {
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
.css({
|
.css({float: 'right', margin: '4px', align: 'right'});
|
||||||
float: 'right',
|
|
||||||
margin: '4px',
|
|
||||||
align: 'right'
|
|
||||||
});
|
|
||||||
if (section != 'icon') {
|
if (section != 'icon') {
|
||||||
$findElement.hide();
|
$findElement.hide();
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ pandora.ui.orderButton = function(isNavigationView) {
|
||||||
margin: isNavigationView ? '4px 4px 0 0' : '4px 0 0 4px'
|
margin: isNavigationView ? '4px 4px 0 0' : '4px 0 0 4px'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
click: function(data) {
|
click: function() {
|
||||||
pandora.UI.set(sortKey, [{
|
pandora.UI.set(sortKey, [{
|
||||||
key: pandora.user.ui[sortKey][0].key,
|
key: pandora.user.ui[sortKey][0].key,
|
||||||
operator: pandora.user.ui[sortKey][0].operator == '+' ? '-' : '+'
|
operator: pandora.user.ui[sortKey][0].operator == '+' ? '-' : '+'
|
||||||
|
|
Loading…
Reference in a new issue