Skip to content
Commit 3c166c25 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: luci.js: fix sortedKeys() ordering



Chrome does not properly sort arrays when the sort function returns boolean
results, in contrast to Firefox which does.

Fix the issue by returning a numerical result instead.

Fixes: #4792
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 99e9c106
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment