Commit 0a79868b authored by fred's avatar fred
Browse files

fix click on .rss link to display the file content

parent 87a17c65
......@@ -141,7 +141,7 @@ $(function() {
window.open(href, '_blank');
return false;
}
if (href.match('\.(pdf|odt|ods|doc|xls|docx|xlsx|rtf|atom)$')) {
if (href.match('\.(pdf|odt|ods|doc|xls|docx|xlsx|rtf|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