MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 111: Line 111:
             // Check if the related-articles div has content and add a label
             // Check if the related-articles div has content and add a label
             if (relatedArticlesHtml && relatedArticlesHtml.trim().length > 0) {
             if (relatedArticlesHtml && relatedArticlesHtml.trim().length > 0) {
             $('#related-articles').html('<p class="label-related-articles">Related Articles</p>' + '</br>' + relatedArticlesHtml).show();
             $('#related-articles').html('<div class="label-related-articles">Related Articles</div>' + relatedArticlesHtml).show();
             } else {
             } else {
             $('#related-articles').html('<p>No related articles found.</p>').show();
             $('#related-articles').html('<p>No related articles found.</p>').show();

Navigation menu