Removed unwanted js code that was causing error
This commit is contained in:
		
					parent
					
						
							
								39a2455817
							
						
					
				
			
			
				commit
				
					
						09dc0cde13
					
				
			
		
					 2 changed files with 0 additions and 31 deletions
				
			
		|  | @ -47,20 +47,5 @@ | |||
|         window.location.href = '{{next_url}}'; | ||||
|     </script> | ||||
| {% endif %} | ||||
| 
 | ||||
| 
 | ||||
| <script type="text/javascript"> | ||||
| 
 | ||||
|     window.onload = function () { | ||||
|         {% for user_key in keys %} | ||||
|             var locale_date = moment.utc(document.getElementById("ssh-created_at-{{user_key.id}}").textContent,'YYYY-MM-DD HH:mm').toDate(); | ||||
|             locale_date =  moment(locale_date).format("YYYY-MM-DD h:mm:ss a"); | ||||
|             document.getElementById('ssh-created_at-{{user_key.id}}').innerHTML = locale_date; | ||||
|         {% endfor %} | ||||
|     }; | ||||
| 
 | ||||
| </script> | ||||
| 
 | ||||
| 
 | ||||
| {%endblock%} | ||||
| 
 | ||||
|  |  | |||
|  | @ -101,21 +101,5 @@ | |||
|         window.location.href = '{{next_url}}'; | ||||
|     </script> | ||||
| {% endif %} | ||||
| 
 | ||||
| 
 | ||||
| <script type="text/javascript"> | ||||
| 
 | ||||
|     window.onload = function () { | ||||
|         {% for user_key in keys %} | ||||
|             var locale_date = moment.utc(document.getElementById("ssh-created_at-{{user_key.id}}").textContent,'YYYY-MM-DD HH:mm').toDate(); | ||||
|             locale_date =  moment(locale_date).format("YYYY-MM-DD h:mm:ss a"); | ||||
|             document.getElementById('ssh-created_at-{{user_key.id}}').innerHTML = locale_date; | ||||
| 
 | ||||
|         {% endfor %} | ||||
|     }; | ||||
| 
 | ||||
| </script> | ||||
| 
 | ||||
| 
 | ||||
| {%endblock%} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue