Skip to content

Commit b4a9c7d

Browse files
committed
remove unecessary conditional from shouldDisplayDownload()
1 parent ae75105 commit b4a9c7d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

assets/javascript/downloads.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,6 @@ function shouldDisplayDownload(download, displayedManufacturers, displayedMcufam
381381

382382
var id = download.dataset.id;
383383

384-
if (!shouldFilterFeatures && !shouldFilterManufacturers && !shouldFilterMcufamilies) {
385-
shouldDisplay = true;
386-
}
387-
388384
if (shouldFilterManufacturers) {
389385
if (displayedManufacturers.includes(id)) {
390386
if (shouldFilterMcufamilies) {

0 commit comments

Comments
 (0)