Skip to content

Commit a4b3bc0

Browse files
authored
Merge pull request #2597 from dpalou/MOBILE-3523
MOBILE-3523 core: Fix body class for 3.10 sites
2 parents aafd111 + 93c8c15 commit a4b3bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/sites.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ export class CoreSitesProvider {
982982
* @return Release number or empty.
983983
*/
984984
getReleaseNumber(rawRelease: string): string {
985-
const matches = rawRelease.match(/^\d(\.\d(\.\d+)?)?/);
985+
const matches = rawRelease.match(/^\d+(\.\d+(\.\d+)?)?/);
986986
if (matches) {
987987
return matches[0];
988988
}

0 commit comments

Comments
 (0)