plugin/download-counter: always show in menu
Massimo Melina committed
Aug 1, 2023 at 10:51 UTC
d69ed419f40ccddb5f3b2ffaef8863ec58d832b9
1 file changed
+1
-1
plugins/download-counter/public/main.js
+1
-1
@@ -7,7 +7,7 @@
7
hits && !inMenu && `<span class="download-counter" title="${label}">${hits}</span>`)
8
9
HFS.onEvent('fileMenu', ({ entry, props }) => {
10
- if (inMenu && !entry.isFolder)
10
+ if (!entry.isFolder)
11
props.push([label, entry.hits || 0])
12
})
13
}
\ No newline at end of file