Skip to content

Commit 2f04d41

Browse files
committedJan 13, 2015
Fix #1536
1 parent 7b3f0c6 commit 2f04d41

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed
 

‎CHANGES.txt

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Features
6363
Bugfixes
6464
--------
6565

66+
* Don't apply colorbox to figures if they are of islink class. (Issue #1536)
6667
* Turned minify_lines into a no-op (Issue #1497)
6768
* Don’t classify unpublished posts as pages (Issue #1577)
6869
* Fixed a ``TranslatableSetting.langformat`` race condition

‎nikola/data/themes/bootstrap-jinja/templates/base.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
{{ template_hooks['page_footer']() }}
7575
</div>
7676
{{ base.late_load_js() }}
77-
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
77+
<script>jQuery("a.image-reference,!.islink").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
7878
<!-- fancy dates -->
7979
<script>
8080
moment.locale("{{ momentjs_locales[lang] }}");

‎nikola/data/themes/bootstrap/templates/base.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ${template_hooks['extra_head']()}
7474
${template_hooks['page_footer']()}
7575
</div>
7676
${base.late_load_js()}
77-
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
77+
<script>jQuery("a.image-reference,!.islink").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
7878
<!-- fancy dates -->
7979
<script>
8080
moment.locale("${momentjs_locales[lang]}");

‎nikola/data/themes/bootstrap3-jinja/templates/base.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
</div>
7676

7777
{{ base.late_load_js() }}
78-
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
78+
<script>jQuery("a.image-reference,!.islink").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
7979
<!-- fancy dates -->
8080
<script>
8181
moment.locale("{{ momentjs_locales[lang] }}");

‎nikola/data/themes/bootstrap3/templates/base.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ ${template_hooks['extra_head']()}
7575
</div>
7676

7777
${base.late_load_js()}
78-
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
78+
<script>jQuery("a.image-reference,!.islink").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
7979
<!-- fancy dates -->
8080
<script>
8181
moment.locale("${momentjs_locales[lang]}");

0 commit comments

Comments
 (0)
Please sign in to comment.