Changes

MediaWiki:Common.js

213 bytes removed, 21:39, 13 May 2017
no edit summary
var header_height = document.getElementById("p-visit").scrollHeight;
if (document.getElementById('p-tb') !=null) {
if (window.scrollY + 430 > header_height){
document.getElementById("p-visit").style.position="fixed";
document.getElementById("p-visit").style.top="0px";
}
}
else{
if (window.scrollY + 330 > header_height){
document.getElementById("p-visit").style.position="fixed";
document.getElementById("p-visit").style.top="0px";
}
}
 
else{
document.getElementById("p-visit").style.position="static";