mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Only show annotation toolbar on pages that already have annotations
This commit is contained in:
parent
946c754ae7
commit
67bccfc9fe
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ var Zotero_Browser = new function() {
|
|||
}
|
||||
|
||||
// set annotation bar status
|
||||
if(tab.page.annotations) {
|
||||
if(tab.page.annotations && tab.page.annotations.annotations.length) {
|
||||
document.getElementById('zotero-annotate-tb').hidden = false;
|
||||
toggleMode();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue