From 93c8c157bf7dd6ec66740acbb995bdf32ce7b6b6 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Tue, 10 Nov 2020 14:18:08 +0100 Subject: [PATCH] MOBILE-3523 core: Fix body class for 3.10 sites --- src/providers/sites.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/sites.ts b/src/providers/sites.ts index 1af6ef55e..1991c89d1 100644 --- a/src/providers/sites.ts +++ b/src/providers/sites.ts @@ -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]; }