MOBILE-3523 core: Fix body class for 3.10 sites

main
Dani Palou 2020-11-10 14:18:08 +01:00
parent 0cf2b3c74e
commit 93c8c157bf
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,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];
}