0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

fix error in ubo patch

This commit is contained in:
Malte Jürgens 2022-01-26 11:40:27 +01:00
parent 2d7c35fefc
commit 47060e112a
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -4,7 +4,7 @@
let data = await lookup; let data = await lookup;
if (!data) { if (!data) {
+ const assetsBootstrapLocation = Services.prefs.getBoolPref("librewolf.uBO.assetsBootstrapLocation", undefined); + const assetsBootstrapLocation = Services.prefs.getStringPref("librewolf.uBO.assetsBootstrapLocation", undefined);
+ if (extension.id == "uBlock0@raymondhill.net" && assetsBootstrapLocation) { + if (extension.id == "uBlock0@raymondhill.net" && assetsBootstrapLocation) {
+ return { + return {
+ adminSettings: { + adminSettings: {