diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-06-07 17:58:11 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-28 10:13:57 +0200 |
commit | 136f710ddb48f01e24892c5d2dde3b1f3a069fc4 (patch) | |
tree | 1cfb16a7be14879a2af2df0c4390ba8c49d60f89 /app/Resources/static/themes/material/js/tools.js | |
parent | e70e383378fc38f8154d482a247a0d2ca23a4925 (diff) | |
download | wallabag-136f710ddb48f01e24892c5d2dde3b1f3a069fc4.tar.gz wallabag-136f710ddb48f01e24892c5d2dde3b1f3a069fc4.tar.zst wallabag-136f710ddb48f01e24892c5d2dde3b1f3a069fc4.zip |
Fix sort
Diffstat (limited to 'app/Resources/static/themes/material/js/tools.js')
-rw-r--r-- | app/Resources/static/themes/material/js/tools.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/js/tools.js b/app/Resources/static/themes/material/js/tools.js index 0b3d3038..8563a14a 100644 --- a/app/Resources/static/themes/material/js/tools.js +++ b/app/Resources/static/themes/material/js/tools.js | |||
@@ -29,8 +29,16 @@ function initRandom() { | |||
29 | } | 29 | } |
30 | } | 30 | } |
31 | 31 | ||
32 | function initSort() { | ||
33 | // no display if export (ie: entries) not available | ||
34 | if ($('div').is('#sort')) { | ||
35 | $('#button_sort').show(); | ||
36 | } | ||
37 | } | ||
38 | |||
32 | export { | 39 | export { |
33 | initExport, | 40 | initExport, |
34 | initFilters, | 41 | initFilters, |
35 | initRandom, | 42 | initRandom, |
43 | initSort, | ||
36 | }; | 44 | }; |