Sidenav: Only show context menu with "Pin Section" on section buttons
Don't show on Locate menu button Addresses #4253
This commit is contained in:
parent
bb3d9ccf8f
commit
6b5b47a83a
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@
|
|||
|
||||
init() {
|
||||
this._buttonContainer = this.querySelector('.inherit-flex');
|
||||
for (let toolbarbutton of this.querySelectorAll('toolbarbutton')) {
|
||||
for (let toolbarbutton of this.querySelectorAll('toolbarbutton[data-pane]')) {
|
||||
let pane = toolbarbutton.dataset.pane;
|
||||
|
||||
let pinnable = this.isPanePinnable(pane);
|
||||
|
|
Loading…
Reference in a new issue