mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-08-02 20:37:21 +02:00
Merge pull request #20834 from calixteman/update_context_menu
Update the context menu after copying thumbnails
This commit is contained in:
commit
99dcb88dac
@ -894,6 +894,9 @@ class PDFThumbnailViewer {
|
|||||||
this.#manageCopyButton.disabled =
|
this.#manageCopyButton.disabled =
|
||||||
this.#manageCutButton.disabled =
|
this.#manageCutButton.disabled =
|
||||||
!enable;
|
!enable;
|
||||||
|
this.#dispatchUpdateStates({
|
||||||
|
hasSelectedPages: false,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#updateStatus(type) {
|
#updateStatus(type) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user