« 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 9 : Ligne 9 :
  */
  */
   
   
$( '.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 18 :
      
      
});
});
*/

Version du 14 décembre 2014 à 01:14

/* 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);
    
});
*/