Download icon 💾 for other MIME types

https://github.com/FreshRSS/FreshRSS/issues/1236#issuecomment-299627105
This commit is contained in:
Alexandre Alapetite committed 2017-05-07 17:00:46 +02:00
1 parent 1c2235ec90
commit e9e6fc3483
1 file changed
+1 -1
+1 -1
View File
@@ -328,7 +328,7 @@ class FreshRSS_Feed extends Minz_Model {
} elseif (strpos($mime, 'video/') === 0) {
$content .= '<p class="enclosure"><video preload="none" src="' . $elink . '" controls="controls"></video> <a download="" href="' . $elink . '">💾</a></p>';
} else {
unset($elinks[$elink]);
$content .= '<p class="enclosure"><a download="" href="' . $elink . '">💾</a></p>';
}
}
}