Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 70: | Line 70: | ||
<!-- iGem wiki hacks --> | <!-- iGem wiki hacks --> | ||
<!-- Remove all empty <p> tags --> | <!-- Remove all empty <p> tags --> | ||
- | + | <script type="text/javascript"> | |
+ | $(document).ready(function() { | ||
+ | $("p").filter( function() { | ||
+ | return $.trim($(this).html()) == ''; | ||
+ | }).remove(); | ||
+ | }); | ||
+ | </script> | ||
<!-- Empty heading? - Then remove it.. --> | <!-- Empty heading? - Then remove it.. --> |
Revision as of 01:25, 19 September 2011