MediaWiki:Common.js: различия между версиями

>Edward Chernenko
м значение параметра "0" браузер сохранил как "0pt"
>Edward Chernenko
м вот теперь всё
Строка 92: Строка 92:
     var body = document.getElementsByTagName('body')[0];
     var body = document.getElementsByTagName('body')[0];
     body.style.backgroundColor = 'white';
     body.style.backgroundColor = 'white';
     body.innerHTML = "<div id='nihilism_message'" + (nhl.style.top == "0px" ? " top: 0px; left: 0px;" : "") + ">" + msg + "</div>";     
     body.innerHTML = "<div id='nihilism_message'" + (nhl.style.top == "0px" ? " style='top: 0px; left: 0px;'" : "") + ">" + msg + "</div>";     
   }
   }
}
}