Skip to content

Commit

Permalink
Bug 1499222 - Fix typo of node.listChild in extensions.js, fixing sor…
Browse files Browse the repository at this point in the history
…ting of addons in addon manager. r=kmag
  • Loading branch information
aceman444 committed Oct 15, 2018
1 parent f04ade4 commit cb368dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolkit/mozapps/extensions/content/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1641,8 +1641,8 @@ function sortList(aList, aSortBy, aAscending) {
var elements = Array.slice(aList.childNodes, 0);
sortElements(elements, [aSortBy], aAscending);

while (aList.listChild)
aList.removeChild(aList.lastChild);
while (aList.lastChild)
aList.lastChild.remove();

for (let element of elements)
aList.appendChild(element);
Expand Down

0 comments on commit cb368dc

Please sign in to comment.