Browse Source

fix: compat jQuery 3 `.load` est deprecated

utiliser `.on` à la place
v2
b_b 2 months ago
parent
commit
edc7d79810
  1. 2
      modeles/image_legendes.html

2
modeles/image_legendes.html

@ -50,7 +50,7 @@
useAjax: true
});
}
$(window).load(function(){
$(window).on('load', function(){
var mq = window.matchMedia("(max-width: [(#GET{largeur})]px)");
if (!mq.matches)
init_notes_#ID_DOCUMENT();

Loading…
Cancel
Save