From c887e8f0a9652f4f4e182e6e237e286404dc294e Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Fri, 5 Mar 2021 09:36:21 +0100 Subject: [PATCH] MOBILE-3708 core: Fix body class for 3.10 sites --- src/core/services/sites.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/services/sites.ts b/src/core/services/sites.ts index 208aa7dc8..8d62529a8 100644 --- a/src/core/services/sites.ts +++ b/src/core/services/sites.ts @@ -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]; }