Fixed sorting error.

For #327.
This commit is contained in:
Oliver Hamlet
2014-11-09 16:09:19 +00:00
parent 915dd5e14f
commit 93c157295f
+1 -1
View File
@@ -744,7 +744,7 @@ function sortUIElements(pluginNames) {
/* Also need to move plugin sidebar entry. */
var li;
for (var i = 0; i < entries.length; ++i) {
if (entries[i].getElementsByTagName('a')[0].textContent == name) {
if (entries[i].label == name) {
li = entries[i];
}
}