File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11$ ( document ) . ready ( function ( ) {
22
33 // modify thumbnail links and add filename to url to support fancybox preview
4- $ ( "div.journal a.thumbnail" ) . attr ( 'href' , function ( i , v ) {
4+ $ ( "div.wiki a.thumbnail" ) . attr ( 'href' , function ( i , v ) {
55 return v + '/' + $ ( this ) . attr ( 'title' ) ;
66 } ) ;
77
@@ -15,7 +15,7 @@ $(document).ready(function() {
1515 "div.journal ul.details a[href$='.JPEG']," +
1616 "div.journal ul.details a[href$='.gif']," +
1717 "div.journal ul.details a[href$='.GIF']," +
18- "div.journal a.thumbnail," +
18+ "div.wiki a.thumbnail," +
1919 "div.attachments a.swf," +
2020 ".avatar a" ) . fancybox ( {
2121 prevEffect : 'none' ,
Original file line number Diff line number Diff line change 77 name 'Redmine Lightbox 2'
88 author 'Tobias Fischer'
99 description 'This plugin lets you preview image, pdf and swf attachments in a lightbox.'
10- version '0.2.3 '
10+ version '0.2.4 '
1111 url 'https://github.com/paginagmbh/redmine_lightbox2'
1212 requires_redmine :version_or_higher => '3.0.0'
1313end
You can’t perform that action at this time.
0 commit comments