mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-04 05:10:07 +00:00 
			
		
		
		
	minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									b2a9fc1076
								
							
						
					
					
						commit
						49cc0c723d
					
				@ -270,7 +270,7 @@ module.DataPrototype = {
 | 
				
			|||||||
	// 		-> data
 | 
						// 		-> data
 | 
				
			||||||
	//
 | 
						//
 | 
				
			||||||
	//
 | 
						//
 | 
				
			||||||
	// Two extra argumants are considered:
 | 
						// Two extra arguments are considered:
 | 
				
			||||||
	// 	- deep		- if set to true (default), when cleared a ribbon all
 | 
						// 	- deep		- if set to true (default), when cleared a ribbon all
 | 
				
			||||||
	// 				  images within that ribbon will also be cleared.
 | 
						// 				  images within that ribbon will also be cleared.
 | 
				
			||||||
	// 	- clear_empty
 | 
						// 	- clear_empty
 | 
				
			||||||
@ -724,7 +724,6 @@ module.DataPrototype = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		// get the actual bounds...
 | 
							// get the actual bounds...
 | 
				
			||||||
		from = Math.max(0, from)
 | 
							from = Math.max(0, from)
 | 
				
			||||||
		to = Math.min(list.length-1, to)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
		return list.slice(from, to)
 | 
							return list.slice(from, to)
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user