diff --git a/lib/redmine/mime_type.rb b/lib/redmine/mime_type.rb index 730a2f0e9..1a5c3d345 100644 --- a/lib/redmine/mime_type.rb +++ b/lib/redmine/mime_type.rb @@ -26,7 +26,6 @@ module Redmine 'text/x-c' => 'c,cpp,cc,h,hh', 'text/x-csharp' => 'cs', 'text/x-java' => 'java', - 'text/x-javascript' => 'js', 'text/x-html-template' => 'rhtml', 'text/x-perl' => 'pl,pm', 'text/x-php' => 'php,php3,php4,php5', @@ -45,6 +44,7 @@ module Redmine 'image/x-ms-bmp' => 'bmp', 'image/x-xpixmap' => 'xpm', 'image/svg+xml'=> 'svg', + 'application/javascript' => 'js', 'application/pdf' => 'pdf', 'application/rtf' => 'rtf', 'application/msword' => 'doc',