MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 503: Line 503:
//Fix height issue with ads
//Fix height issue with ads
var HeightFix = $("#mw-content-block");
var HeightFix = $("#mw-content-block");
$("#output").text(HeightFix.height());
//$("#mw-related-navigation").css("min-height", HeightFix.height());
$("#mw-related-navigation").css("min-height", HeightFix.height());
$("#mw-related-navigation").each(function () {
 
    this.style.setProperty( "min-height", HeightFix.height(), "important" );
});


//Get Ad Dart Number
//Get Ad Dart Number
25,162

edits