Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/juliushaertl/apporder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ozoux <pierre@ozoux.net>2022-07-25 17:54:39 +0300
committerGitHub <noreply@github.com>2022-07-25 17:54:39 +0300
commit22d608dc2dcc6306f438ccef187ac948278899d2 (patch)
tree7a16239d3050aebe2073c2a4bbcae2164d63d7ee
parent8c616a03587f690b21dc93681a4f5438a02e7205 (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.
-rw-r--r--js/apporder.js2
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;
}