luci-mod-network: switch.js: fix internal port ordering
Fixes: #3709 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
b18937dfd0
commit
1c547d36b5
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ return L.view.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
port_opts.sort(function(a, b) {
|
port_opts.sort(function(a, b) {
|
||||||
return a.option < b.option;
|
return a.option > b.option;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue