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