diff --git a/src/assets/async.nette.ajax.js b/src/assets/async.nette.ajax.js index 178bc93..06cb7dd 100644 --- a/src/assets/async.nette.ajax.js +++ b/src/assets/async.nette.ajax.js @@ -17,7 +17,7 @@ $.nette.ajax({ url: $this.data('asyncLink') || $this.attr('href'), off: ['history', 'unique'] - }); + }, $this, new CustomEvent('asyncLoad')); }); } });