MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
No change in size ,  15:15, 11 July 2021
no edit summary
No edit summary
No edit summary
Line 137: Line 137:
var parentHieght = divide2cols.height()/2;
var parentHieght = divide2cols.height()/2;
divide2cols.find("dl").each(function() {
divide2cols.find("dl").each(function() {
console.log( $(this).offset().top > parentHieght );
console.log( $(this).offset().top , parentHieght );
if ( $(this).offset().top > parentHieght ) {
if ( $(this).offset().top > parentHieght ) {
rightDiv.append( $(this), $(this).next() );
rightDiv.append( $(this), $(this).next() );

Navigation menu