diff options
author | Pierre Ozoux <pierre@ozoux.net> | 2022-07-25 17:54:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 17:54:39 +0300 |
commit | 22d608dc2dcc6306f438ccef187ac948278899d2 (patch) | |
tree | 7a16239d3050aebe2073c2a4bbcae2164d63d7ee /js | |
parent | 8c616a03587f690b21dc93681a4f5438a02e7205 (diff) |
Fixes bug when only hidden is defined.
In app order, if you only modify the hidden checkbox without touching the order, then it doesn't work as expected.
Diffstat (limited to 'js')
-rw-r--r-- | js/apporder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/apporder.js b/js/apporder.js index 018699d..e0a7126 100644 --- a/js/apporder.js +++ b/js/apporder.js @@ -42,7 +42,7 @@ $(function () { hidden = []; } - if (order.length === 0) { + if (order.length === 0 && hidden.length === 0) { app_menu.css('opacity', '1'); return; } |