forked from CIT/Vmeda.Online
		
	MOBILE-3708 core: Fix body class for 3.10 sites
This commit is contained in:
		
							parent
							
								
									7dcfc4d989
								
							
						
					
					
						commit
						c887e8f0a9
					
				@ -655,7 +655,7 @@ export class CoreSitesProvider {
 | 
			
		||||
     * @return Release number or empty.
 | 
			
		||||
     */
 | 
			
		||||
    getReleaseNumber(rawRelease: string): string {
 | 
			
		||||
        const matches = rawRelease.match(/^\d(\.\d(\.\d+)?)?/);
 | 
			
		||||
        const matches = rawRelease.match(/^\d+(\.\d+(\.\d+)?)?/);
 | 
			
		||||
        if (matches) {
 | 
			
		||||
            return matches[0];
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user