Changeset 101740 in spip-zone


Ignore:
Timestamp:
Jan 16, 2017, 12:38:45 PM (3 years ago)
Author:
marcimat@…
Message:

Compatibilité jQuery 3.1 (encore une librairie qui ne semble pas maintenue :/ jQuery.twinkle)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/compagnon/prive/javascript/jquery.twinkle.js

    r85130 r101740  
    354354        $dot = $('<div />')
    355355                .css(css)
    356                 .bind('click dblclick mousedown mouseenter mouseover mousemove', blockEvents);
     356                .on('click dblclick mousedown mouseenter mouseover mousemove', blockEvents);
    357357        $(event.element).after($dot);
    358358        $dot.animate(
     
    710710        $canvas = jQuery('<canvas />').attr('width', width).attr('height', height).css(css);
    711711        jQuery(element).after($canvas);
    712         $canvas.bind('click dblclick mousedown mouseenter mouseover mousemove', blockEvents);
     712        $canvas.on('click dblclick mousedown mouseenter mouseover mousemove', blockEvents);
    713713        ctx = new Objects.Ctx($canvas.get(0).getContext('2d'));
    714714
Note: See TracChangeset for help on using the changeset viewer.