Archived
Fix type in device sort (fixes #1668)
This commit is contained in:
1 parent
d530c5eda7
commit
e2420495f3
2 files changed
+3
-3
No files matched your search
@@ -52,7 +52,7 @@ function deviceCompare(a, b) {
|
||||
if (typeof a.name !== 'undefined' && typeof b.name !== 'undefined') {
|
||||
if (a.name < b.name)
|
||||
return -1;
|
||||
return a.name > b.bame;
|
||||
return a.name > b.name;
|
||||
}
|
||||
if (a.deviceID < b.deviceID) {
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user