Skip to content

Commit

Permalink
async.nette.ajax.js: Pass UI and Event
Browse files Browse the repository at this point in the history
some nette.ajax extensions does not check for UI/Event presence and breaks
  • Loading branch information
vitkutny authored Mar 8, 2017
1 parent dcfa1d9 commit 82dd509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/async.nette.ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$.nette.ajax({
url: $this.data('asyncLink') || $this.attr('href'),
off: ['history', 'unique']
});
}, $this, new CustomEvent('asyncLoad'));
});
}
});
Expand Down

0 comments on commit 82dd509

Please sign in to comment.