mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 15:02:26 +01:00
Fix beta string matching in :help versions.
This commit is contained in:
@@ -131,7 +131,7 @@ var Help = Module("Help", {
|
|||||||
|
|
||||||
let matchBetas = util.regexp(/\[((?:b|rc)\d)\]/, "gx");
|
let matchBetas = util.regexp(/\[((?:b|rc)\d)\]/, "gx");
|
||||||
|
|
||||||
let betas = Array.from(betas.iterate(NEWS),
|
let betas = Array.from(matchBetas.iterate(NEWS),
|
||||||
match => match[1]);
|
match => match[1]);
|
||||||
|
|
||||||
let beta = betas.sort().pop();
|
let beta = betas.sort().pop();
|
||||||
|
|||||||
Reference in New Issue
Block a user