Changeset 115076 in spip-zone


Ignore:
Timestamp:
Apr 27, 2019, 4:58:39 PM (4 weeks ago)
Author:
maieul@…
Message:

ne pas executer le code avant la fin du chargment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/empecher_double_clic/trunk/js/empecher_double_clic.js

    r115073 r115076  
    1 $('form').submit(function(event) {
    2   $(this).find('input[type="submit"], button[type="submit"]').addClass('js-sending').attr('disabled', 'disabled');
     1$(function() {
     2        $('form').submit(function(event) {
     3                $(this).find('input[type="submit"], button[type="submit"]').addClass('js-sending').attr('disabled', 'disabled');
     4        });
    35});
Note: See TracChangeset for help on using the changeset viewer.