Skip to content

Commit 432fba6

Browse files
authored
Merge pull request #5 from peckadesign/async-nette-ajax-js-fix
async.nette.ajax.js: Pass UI and Event
2 parents dcfa1d9 + 82dd509 commit 432fba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/async.nette.ajax.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
$.nette.ajax({
1818
url: $this.data('asyncLink') || $this.attr('href'),
1919
off: ['history', 'unique']
20-
});
20+
}, $this, new CustomEvent('asyncLoad'));
2121
});
2222
}
2323
});

0 commit comments

Comments
 (0)