forked from EVOgeek/Vmeda.Online
		
	MOBILE-3833 h5p: Fix substring in h5p validator
This commit is contained in:
		
							parent
							
								
									cc78598e4c
								
							
						
					
					
						commit
						0fd27feec9
					
				@ -357,7 +357,7 @@ export class CoreH5PContentValidator {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Remove temporary files suffix.
 | 
			
		||||
        if (file.path.substring(-4, 4) === '#tmp') {
 | 
			
		||||
        if (file.path.slice(-4) === '#tmp') {
 | 
			
		||||
            file.path = file.path.substring(0, file.path.length - 4);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user