#106 rename sorting options and polish the dropdown UI a bit

This commit is contained in:
Drewster727 2016-03-31 08:59:54 -05:00
commit 1a2ec7ac7f
5 changed files with 52 additions and 40 deletions

View file

@ -124,8 +124,8 @@ $('#approveTVShows').click(function (e) {
// filtering/sorting
$('.filter,.sort', '.dropdown-menu').click(function (e) {
var $this = $(this);
$('.fa-square', $this.parents('.dropdown-menu:first')).removeClass('fa-square').addClass('fa-square-o');
$this.children('.fa').first().removeClass('fa-square-o').addClass('fa-square');
$('.fa-check-square', $this.parents('.dropdown-menu:first')).removeClass('fa-check-square').addClass('fa-square-o');
$this.children('.fa').first().removeClass('fa-square-o').addClass('fa-check-square');
});