MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
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=" | $(`#n-${id} a:first-child`).prepend(`<i class="icon-${icon}"></i> `); | ||
} | } | ||
addIcon("About-This-Wiki", "circle-info"); | addIcon("About-This-Wiki", "circle-info"); | ||
}); | }); | ||