Update client.js
This commit is contained in:
		
							parent
							
								
									686e317710
								
							
						
					
					
						commit
						80f77b58af
					
				| @ -6,12 +6,12 @@ | ||||
| 
 | ||||
| 	You can listen for page changes by writing something like this: | ||||
| 
 | ||||
| 	  $(window).on('action:ajaxify.end', function(data) { | ||||
| 		var	url = data.url; | ||||
| 	  $(window).on('action:ajaxify.end', function(ev, data) { | ||||
| 		var url = data.url; | ||||
| 		console.log('I am now at: ' + url); | ||||
| 	  }); | ||||
| */ | ||||
| 
 | ||||
| $(document).ready(function() { | ||||
| 	// Your code goes here
 | ||||
| }); | ||||
| }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Barış Soner Uşaklı
						Barış Soner Uşaklı