MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
// Sidebar Menu Icons | // Sidebar Menu Icons | ||
$( | |||
function addIcon(id, icon) { | |||
$(`#n-${id} a:first-child`).prepend(`<i class="fa-solid fa-${icon}"></i> `); | |||
} | |||
addIcon("About-This-Wiki", "circle-info"); | |||
}); | }); | ||