if(e.hasClass('sortable') && e.attr('sort') == _this.store.sortInfo.field && _this.store.sortInfo.direction.toUpperCase() == 'ASC'){
e.addClass(['glyphicon', 'glyphicon-arrow-up']);
+ return;
}
- if(e.hasClass('sortable') && e.attr('sort') == _this.store.sortInfo.field && _this.store.sortInfo.direction.toUpperCase() == 'DESC'){
- e.addClass(['glyphicon', 'glyphicon-arrow-down']);
- }
+ e.addClass(['glyphicon', 'glyphicon-arrow-down']);
});
var tbody = this.el.select('tbody', true).first();