diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-03-02 09:34:03 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-03-02 09:34:30 +0100 |
commit | 1c547d36b545e79838acca021767071ae95ca5c9 (patch) | |
tree | d1093dd971ad6b7608a6d88c16cbb40cff95f064 /modules/luci-mod-network/htdocs/luci-static/resources | |
parent | b18937dfd06723aebba750e82d347df77d4fe4c2 (diff) |
luci-mod-network: switch.js: fix internal port ordering
Fixes: #3709
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js index 4467238034..63427f147f 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js @@ -361,7 +361,7 @@ return L.view.extend({ } port_opts.sort(function(a, b) { - return a.option < b.option; + return a.option > b.option; }); } |