mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
fix https://github.com/uBlockOrigin/uBlock-issues/issues/164 [regression]
This commit is contained in:
parent
6db88e67b1
commit
4bb1ec5cff
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ let decodeValue = function(key, inputArray) {
|
|||
return {
|
||||
encode: function(key, dataIn) {
|
||||
if ( typeof dataIn !== 'string' || dataIn.length < 4096 ) {
|
||||
return Promise.resolve({ key, dataIn });
|
||||
return Promise.resolve({ key, data: dataIn });
|
||||
}
|
||||
ttlManage(1);
|
||||
return init().then(( ) => {
|
||||
|
@ -178,7 +178,7 @@ return {
|
|||
},
|
||||
decode: function(key, dataIn) {
|
||||
if ( dataIn instanceof Blob === false ) {
|
||||
return Promise.resolve({ key, dataIn });
|
||||
return Promise.resolve({ key, data: dataIn });
|
||||
}
|
||||
ttlManage(1);
|
||||
return Promise.all([
|
||||
|
|
Loading…
Reference in a new issue