Difference between revisions of "Team:Czech Republic/Template:Scripts"
Line 34: | Line 34: | ||
<script> | <script> | ||
− | window.onload = function removeEmpty() | + | window.onload = function(){ |
+ | window.document.body.onload = removeEmpty; | ||
+ | }; | ||
+ | |||
+ | function removeEmpty() | ||
{ | { | ||
var paragraphs = document.getElementsByTagName("p"); | var paragraphs = document.getElementsByTagName("p"); |
Revision as of 16:49, 9 September 2015