mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix oversight in last commit
This commit is contained in:
parent
9f5697c047
commit
a1a3477b07
1 changed files with 4 additions and 1 deletions
|
|
@ -1058,7 +1058,10 @@ function evaldataPrune(
|
|||
try {
|
||||
data = JSON.parse(dataToEval);
|
||||
if ( typeof data === 'object' ) {
|
||||
args[0] = objectPrune(dataToEval, rawPrunePaths, rawNeedlePaths);
|
||||
let after = JSON.stringify(
|
||||
objectPrune(data, rawPrunePaths, rawNeedlePaths)
|
||||
);
|
||||
args[0] = `(${after})`;
|
||||
}
|
||||
} catch(ex) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue