mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Change Reader API to use events, remove messaging.
This commit is contained in:
parent
1c494e80a6
commit
f0af6dce04
4 changed files with 50 additions and 151 deletions
|
|
@ -307,7 +307,7 @@ var AboutReaderListener = {
|
|||
if (content.document.body) {
|
||||
// Update the toolbar icon to show the "reader active" icon.
|
||||
sendAsyncMessage("Reader:UpdateReaderButton");
|
||||
new AboutReader(global, content, this._articlePromise);
|
||||
new AboutReader(content, this._articlePromise);
|
||||
this._articlePromise = null;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue