Switch admin navigation glyphs to FontAwesome

This commit is contained in:
James Mason 2014-08-15 18:28:14 -07:00
parent ebe9780059
commit ba1aed3c54
3 changed files with 25 additions and 25 deletions

View file

@ -104,11 +104,11 @@ $(function () {
//Hide all except this
$siblings = $(this).siblings().find("ul:visible");
$siblings.hide();
$siblings.parent().find('span:nth-child(2)').toggleClass("glyphicon-chevron-down glyphicon-chevron-right");
$siblings.parent().find('span:nth-child(2)').toggleClass("fa-chevron-down fa-chevron-right");
//show this
$(this).find("ul").show();
$(this).find('span:nth-child(2)').toggleClass("glyphicon-chevron-down glyphicon-chevron-right");
$(this).find('span:nth-child(2)').toggleClass("fa-chevron-down fa-chevron-right");
}
});