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