Merged countries sort
This commit is contained in:
parent
f6ef43d3b0
commit
a257ded3cc
@ -2519,10 +2519,11 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (String.prototype.localeCompare) {
|
||||||
$scope.countries.sort(function(a, b) {
|
$scope.countries.sort(function(a, b) {
|
||||||
return a.name.localeCompare(b.name);
|
return a.name.localeCompare(b.name);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user