Fixed sorting error.

Introduced in 82e68bda91.
This commit is contained in:
WrinklyNinja
2014-08-31 09:31:17 +01:00
parent b5696932e8
commit 3145a91ae9
+1 -1
View File
@@ -749,7 +749,7 @@ function sortUIElements(pluginNames) {
/* Also need to move plugin sidebar entry. */
var li;
for (var i = 0; i < entries.length; ++i) {
if (entries[i].textContent == name) {
if (entries[i].getElementsByTagName('a')[0].textContent == name) {
li = entries[i];
}
}