Changeset 93008 in spip-zone for _plugins_/inclure-ajaxload/javascript


Ignore:
Timestamp:
Nov 19, 2015, 8:15:20 AM (5 years ago)
Author:
fil@…
Message:

nofollow sur le a href ajax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/inclure-ajaxload/javascript/inclure-ajaxload.js

    r59867 r93008  
    1 jQuery(document).ready(function($) {
     1$(function() {
    22        function charger_inclure_ajaxload() {
    33                $('.includeajax').each(function() {
    44                        var me = $(this);
    5                         var env = $('a', this).attr('rel');
     5                        var env = $('a', this).attr('rel').replace(/ nofollow$/, '');
    66                        if (env) {
    77                                $('a', this).attr('href','#');
Note: See TracChangeset for help on using the changeset viewer.