Update client.js

This commit is contained in:
Barış Soner Uşaklı 2021-01-16 12:36:44 -05:00 committed by GitHub
parent 686e317710
commit 80f77b58af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
You can listen for page changes by writing something like this: You can listen for page changes by writing something like this:
$(window).on('action:ajaxify.end', function(data) { $(window).on('action:ajaxify.end', function(ev, data) {
var url = data.url; var url = data.url;
console.log('I am now at: ' + url); console.log('I am now at: ' + url);
}); });