Team:TU-Eindhoven/Template:BaseFooter

From 2013.igem.org

(Difference between revisions)
Line 13: Line 13:
$('.tue-imagespan img').addClass('img-rounded');
$('.tue-imagespan img').addClass('img-rounded');
$("a.tue-tooltip").tooltip({'selector': '','placement': 'top'});
$("a.tue-tooltip").tooltip({'selector': '','placement': 'top'});
-
$("p").each(function(){
+
$('p').each(function() {
-
  if ($.trim($(this).text()) == ""){
+
    var $this = $(this);
-
    $this.remove();
+
    if($this.html().replace(/\s| /g, '').length == 0)
-
  }
+
        $this.remove();
});
});
</script>
</script>
</html>
</html>

Revision as of 11:48, 20 May 2013