MediaWiki:Common.js : Différence entre versions
Sauter à la navigation
Sauter à la recherche
| Ligne 3 : | Ligne 3 : | ||
if ($('#content').length) { | if ($('#content').length) { | ||
| − | $("#toc").detach(). | + | $("#toc").detach().appendTo('#content'); |
} | } | ||
}()); | }()); | ||
Version du 1 avril 2015 à 13:33
/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */
(function () {
if ($('#content').length) {
$("#toc").detach().appendTo('#content');
}
}());