mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01:00
Minor fix
This commit is contained in:
parent
36346117ae
commit
2a3a796d33
@ -1050,7 +1050,7 @@ function evaldataPrune(
|
||||
self.eval = new Proxy(self.eval, {
|
||||
apply(target, thisArg, args) {
|
||||
let dataToEval = `${args[0]}`;
|
||||
const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/.exec(dataToEval);
|
||||
const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/s.exec(dataToEval);
|
||||
if ( match !== null ) {
|
||||
dataToEval = match[1];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user