Prevent pinning Notes button in reader sidenav
Sidenav button pane IDs usually correspond to sections with the same IDs, but `context-notes` actually corresponds to two sections (`context-all-notes` and `context-item-notes`). We were preventing those sections from being pinned, but not the button that reveals them. Fixes #4283
This commit is contained in:
parent
10b248d68d
commit
4eb4741795
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@
|
|||
}
|
||||
|
||||
isPanePinnable(id) {
|
||||
return id !== 'info' && id !== 'context-all-notes' && id !== 'context-item-notes';
|
||||
return id !== 'info' && id !== 'context-notes' && id !== 'context-all-notes' && id !== 'context-item-notes';
|
||||
}
|
||||
|
||||
init() {
|
||||
|
|
Loading…
Reference in a new issue