mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
[Basilisk] pdfjs: Services.policies is not available in UXP, comment it out
This commit is contained in:
parent
4f9068fe23
commit
d946fc6195
1 changed files with 2 additions and 2 deletions
|
|
@ -340,9 +340,9 @@ var PdfJs = {
|
||||||
* @return {boolean} Whether or not it's enabled.
|
* @return {boolean} Whether or not it's enabled.
|
||||||
*/
|
*/
|
||||||
get enabled() {
|
get enabled() {
|
||||||
if (!Services.policies.isAllowed("PDF.js")) {
|
/*if (!Services.policies.isAllowed("PDF.js")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (!Services.prefs.getBoolPref(PREF_ENABLED_CACHE_INITIALIZED, false)) {
|
if (!Services.prefs.getBoolPref(PREF_ENABLED_CACHE_INITIALIZED, false)) {
|
||||||
// If we just updated, and the cache hasn't been initialized, then we
|
// If we just updated, and the cache hasn't been initialized, then we
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue