Update client.js
This commit is contained in:
parent
686e317710
commit
80f77b58af
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user