Commit 9c0f8b3c authored by fred's avatar fred

misc: let zip files be downloaded

parent 4869e643
......@@ -124,7 +124,7 @@ $(function() {
window.open(href, '_blank');
return false;
}
if (href.match('\.(pdf|odt|ods|doc|xls|docx|xlsx|rtf|rss|atom)$')) {
if (href.match('\.(pdf|odt|ods|doc|xls|docx|xlsx|rtf|zip|rss|atom)$')) {
/* open files */
window.location = href;
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment