Skip to content

Commit 93c8c15

Browse files
committed
MOBILE-3523 core: Fix body class for 3.10 sites
1 parent 0cf2b3c commit 93c8c15

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)