fixed firefox add topic bug

This commit is contained in:
Connor Turland 2014-10-28 12:46:56 -04:00
parent 12e65c638b
commit fed09404e6

View file

@ -3027,7 +3027,7 @@ Metamaps.Filter = {
var model, li, jQueryLi;
function sortAlpha(a,b){
return a.childNodes[1].innerText.toLowerCase() > b.childNodes[1].innerText.toLowerCase() ? 1 : -1;
return a.childNodes[1].innerHTML.toLowerCase() > b.childNodes[1].innerHTML.toLowerCase() ? 1 : -1;
}
// for each new filter to be added, create a list item for it and fade it in
_.each(added, function (identifier) {