Update client.js
This commit is contained in:
+2
-2
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
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);
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user