mirror of
				https://github.com/dwaxweiler/connector-mobilizon
				synced 2025-06-05 21:59:25 +02:00 
			
		
		
		
	use const instead of let
This commit is contained in:
		@@ -5,7 +5,7 @@ const NAME = '<wordpress-name>'
 | 
			
		||||
 | 
			
		||||
document.addEventListener('DOMContentLoaded', () => {
 | 
			
		||||
  const eventLists = document.getElementsByClassName(NAME + '_events-list')
 | 
			
		||||
  for (let list of eventLists) {
 | 
			
		||||
  for (const list of eventLists) {
 | 
			
		||||
    const url = list.getAttribute('data-url') + '/api'
 | 
			
		||||
    const limit = parseInt(list.getAttribute('data-maximum'))
 | 
			
		||||
    const groupName = list.getAttribute('data-group-name')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user