mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Add the possibility to change some pdfjs preferences from the viewer (bug 1908483)
This commit is contained in:
parent
86eb5ba700
commit
6cc32b699f
2 changed files with 9 additions and 5 deletions
|
@ -150,6 +150,10 @@ class Preferences extends BasePreferences {
|
|||
async _readFromStorage(prefObj) {
|
||||
return FirefoxCom.requestAsync("getPreferences", prefObj);
|
||||
}
|
||||
|
||||
async _writeToStorage(prefObj) {
|
||||
return FirefoxCom.requestAsync("setPreferences", prefObj);
|
||||
}
|
||||
}
|
||||
|
||||
(function listenFindEvents() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue