Wikipedia:Monobook.js/LiveRC.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Primo tentativo di traduzione |
Nessun oggetto della modifica |
||
Riga 1 285:
addOnloadHook(function () {
alert(wgTitle);
if (wgTitle == "Monobook.js/LiveRC") {
alert("in if");
var top = document.getElementById( 'top' );
if (top != null) {
alert("top!=null");
top.innerHTML = "";
top.style.display = "none";
Riga 1 304 ⟶ 1 307:
if (rt != null) rt.style.display = "none";
if (pca != null) pca.style.display = "none";
alert("after if");
var lvPreviewFoot = document.getElementById( 'livePreviewFoot' );
Riga 1 326 ⟶ 1 330:
'<span id="selectNS" />';
if (lrcPreviewHeight) document.getElementById('livePreview').style.height = lrcPreviewHeight;
alert("added all");
var _lstContact = lstContact;
Riga 1 332 ⟶ 1 338:
for (var _i=0; _i<_len; _i++)
lstContact[_lstContact[_i]] = { ts: 0 };
alert("added contact");
// Main
liveSysop();
alert("after liveSysop");
}
});
|