MOBILE-3708 core: Fix body class for 3.10 sites

main
Dani Palou 2021-03-05 09:36:21 +01:00
parent 7dcfc4d989
commit c887e8f0a9
1 changed files with 1 additions and 1 deletions

View File

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