Team:Freiburg/Templates/html/js.html
From 2014.igem.org
(Difference between revisions)
Line 94: | Line 94: | ||
+ | |||
$('.svg-container').each(function(){ | $('.svg-container').each(function(){ | ||
var $this = $(this); | var $this = $(this); | ||
- | $this. | + | if ($this.filter('svg a').length === 0){ |
- | items: { | + | $this.magnificPopup({ |
- | + | items: { | |
- | + | src: $this.clone(), | |
- | + | type: 'inline' | |
- | + | } | |
+ | }); | ||
+ | } | ||
}); | }); | ||
Revision as of 10:37, 16 October 2014