mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
HiddenBrowser: Fix proxy setting all properties on browser
Missing return.
This commit is contained in:
parent
74c8226323
commit
ee42f44254
1 changed files with 4 additions and 2 deletions
|
|
@ -110,9 +110,11 @@ export class HiddenBrowser {
|
|||
set(target, prop, val) {
|
||||
if (prop in target) {
|
||||
target[prop] = val;
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return Reflect.set(target._browser, prop, val);
|
||||
}
|
||||
Reflect.set(target._browser, prop, val)
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue