mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix range parser in prevent-setTimeout scriptlet
Related feedback: https://github.com/uBlockOrigin/uBlock-discussions/discussions/925#discussioncomment-11940830
This commit is contained in:
parent
987ddad1fd
commit
e636c32f2a
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class RangeParser {
|
|||
this.min = this.max = parseInt(s, 10) || 0;
|
||||
}
|
||||
if ( pos !== -1 ) {
|
||||
this.max = parseInt(s.slice(1), 10) || Number.MAX_SAFE_INTEGER;
|
||||
this.max = parseInt(s.slice(pos + 1), 10) || Number.MAX_SAFE_INTEGER;
|
||||
}
|
||||
}
|
||||
unbound() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue