Utente:Genuzzu/monobook.js: differenze tra le versioni
Vai alla navigazione
Vai alla ricerca
Contenuto cancellato Contenuto aggiunto
Genuzzu (rosica | curriculum) Nessun oggetto della modifica |
Genuzzu (rosica | curriculum) Nessun oggetto della modifica |
||
Riga 87: | Riga 87: | ||
} |
} |
||
html = ''; |
html = ''; |
||
var didTheJob = false; //hacky hack perché codavo da schifo e codo ancora da schifo e non ho idea di che cazzo succeda. |
|||
for(var match in matches) { |
for(var match in matches) { |
||
if(matches[match] != '<dl>' && matches[match] != '</dl>' && matches[match] != '<dd>' && matches[match] != '</dd>' && |
if(!didTheJob && matches[match] != '<dl>' && matches[match] != '</dl>' && matches[match] != '<dd>' && matches[match] != '</dd>' && |
||
matches[match] != '' && matches[match] != '\n') { |
matches[match] != '' && matches[match] != '\n') { |
||
html += '<div class="lolz">' + matches[match] + '</div>'; |
html += '<div class="lolz">' + matches[match] + '</div>'; |
||
didTheJob = true; |
|||
} |
} |
||
else { |
else { |