Team:Freiburg/Templates/html/js.html

From 2014.igem.org

(Difference between revisions)
Line 97: Line 97:
       $('.svg-container').each(function(){
       $('.svg-container').each(function(){
         var $this = $(this);
         var $this = $(this);
-
         if ($this.filter('svg a').length === 0){
+
         if ($this.find('svg a').length === 0){
           $this.magnificPopup({
           $this.magnificPopup({
             items: {
             items: {

Revision as of 10:38, 16 October 2014