Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
0a79868b
Commit
0a79868b
authored
Jul 12, 2016
by
fred
Browse files
fix click on .rss link to display the file content
parent
87a17c65
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/js/specifics.js
View file @
0a79868b
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment