« MediaWiki:Common.js » : différence entre les versions

De fablabo
Aller à :navigation, rechercher
Divag (discussion | contributions)
Aucun résumé des modifications
Divag (discussion | contributions)
Aucun résumé des modifications
Ligne 10 : Ligne 10 :
   
   
$( '.smw-feed-furtherresults > a' ).addClass( 'feedlink' );
$( '.smw-feed-furtherresults > a' ).addClass( 'feedlink' );
 
/*
$('.BoiteProjet').each(function() {
$('.BoiteProjet').each(function() {
     var currentElement = $(this);
     var currentElement = $(this);
Ligne 17 : Ligne 17 :
      
      
});
});
*/

Version du 13 décembre 2014 à 22:13

/* Tout JavaScript ici sera chargé avec chaque page accédée par n’importe quel utilisateur. */
/**
 * Additional linked icon for the searchlabel of result format "feed"
 *
 * @since 1.9.0
 *
 * @rev 1
 * @author mwjames
 */
 
$( '.smw-feed-furtherresults > a' ).addClass( 'feedlink' );
/*
$('.BoiteProjet').each(function() {
    var currentElement = $(this);
    var urlProjet = currentElement.find('span.linkProjet a').attr('href');
    currentElement.find('a.image').attr("href", urlProjet);
    
});
*/