mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
Fix intermittent context pane toggle test failure
Hopefully.
This commit is contained in:
parent
a993ac74f1
commit
d69a1a65ee
1 changed files with 1 additions and 1 deletions
|
|
@ -2217,7 +2217,7 @@ describe("Item pane", function () {
|
|||
|
||||
if (
|
||||
Zotero.Reader._readers.some(
|
||||
r => isVisible(r._iframe.contentDocument.querySelector('.toolbar-button.context-pane-toggle'))
|
||||
r => isVisible(r._iframe.contentDocument?.querySelector('.toolbar-button.context-pane-toggle'))
|
||||
)
|
||||
) {
|
||||
return 'reader toolbar';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue