Difference between revisions of "Team:Czech Republic/Template:Scripts"

Line 39: Line 39:
 
for (var i = 0, len = paragraphs.length; i < len; i++) {
 
for (var i = 0, len = paragraphs.length; i < len; i++) {
 
     var elem = paragraphs[i];
 
     var elem = paragraphs[i];
     if (elem.innerHTML == '<br></br>') {
+
     if (elem.innerHTML == '<br>') {
 
         elem.parentNode.removeChild(elem);
 
         elem.parentNode.removeChild(elem);
 
         i--;
 
         i--;

Revision as of 07:53, 10 September 2015