mirror of https://github.com/gorhill/uBlock.git
Fix alternate code path introduced in 295f08da97
(oops)
This commit is contained in:
parent
295f08da97
commit
c4f9ae706a
|
@ -611,7 +611,7 @@
|
|||
|
||||
decode(instr, arrbuf) {
|
||||
if ( instr.charCodeAt(0) === 0x5B /* '[' */ ) {
|
||||
const inbuf = Array.isArray(instr);
|
||||
const inbuf = JSON.parse(instr);
|
||||
if ( arrbuf instanceof ArrayBuffer === false ) {
|
||||
return new Uint32Array(inbuf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue