1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-10 18:14:00 +02:00

Fix missing download button on files, when just zipnload is disabled.

Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
Marco Dickert
2020-04-21 12:27:42 +02:00
parent c2002bc15c
commit a483ea936b
3 changed files with 3 additions and 3 deletions

View File

@@ -1462,7 +1462,7 @@ function IFM(params) {
} }
item.rowclasses = "isDir"; item.rowclasses = "isDir";
} else { } else {
if( self.config.download && self.config.zipnload ) { if( self.config.download ) {
item.download.action = "download"; item.download.action = "download";
item.download.icon = "icon icon-download"; item.download.icon = "icon icon-download";
} }

View File

@@ -1462,7 +1462,7 @@ function IFM(params) {
} }
item.rowclasses = "isDir"; item.rowclasses = "isDir";
} else { } else {
if( self.config.download && self.config.zipnload ) { if( self.config.download ) {
item.download.action = "download"; item.download.action = "download";
item.download.icon = "icon icon-download"; item.download.icon = "icon icon-download";
} }

View File

@@ -129,7 +129,7 @@ function IFM(params) {
} }
item.rowclasses = "isDir"; item.rowclasses = "isDir";
} else { } else {
if( self.config.download && self.config.zipnload ) { if( self.config.download ) {
item.download.action = "download"; item.download.action = "download";
item.download.icon = "icon icon-download"; item.download.icon = "icon icon-download";
} }