зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1517988 Insert a placeholder name for addons if necessary in about:support r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16133 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
49eaed4f5c
Коммит
0f97ca35a4
|
@ -237,8 +237,8 @@ var dataProviders = {
|
|||
return b.isActive ? 1 : -1;
|
||||
|
||||
// In some unfortunate cases addon names can be null.
|
||||
let aname = a.name || null;
|
||||
let bname = b.name || null;
|
||||
let aname = a.name || "";
|
||||
let bname = b.name || "";
|
||||
let lc = aname.localeCompare(bname);
|
||||
if (lc != 0)
|
||||
return lc;
|
||||
|
|
Загрузка…
Ссылка в новой задаче