mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
mind rc
when deriving an integer from version string
This commit is contained in:
parent
ca0f3a2331
commit
0451758163
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ var onVersionReady = function(lastVersion) {
|
|||
// see ALL network requests.
|
||||
// Remove when everybody is beyond 1.15.19b8.
|
||||
if ( vAPI.firefox === undefined ) {
|
||||
var match = /^(\d+)\.(\d+)\.(\d+)(?:\D(\d+))?/.exec(lastVersion);
|
||||
var match = /^(\d+)\.(\d+)\.(\d+)(?:\D+(\d+))?/.exec(lastVersion);
|
||||
if ( match !== null ) {
|
||||
var v1 =
|
||||
parseInt(match[1], 10) * 1000 * 1000 * 1000 +
|
||||
|
|
Loading…
Reference in a new issue