mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
fix search in "view source", closes #3929
This commit is contained in:
@@ -69,7 +69,8 @@ export default class TocWidget extends RightPanelWidget {
|
||||
isEnabled() {
|
||||
return super.isEnabled()
|
||||
&& this.note.type === 'text'
|
||||
&& !this.noteContext.viewScope.tocTemporarilyHidden;
|
||||
&& !this.noteContext.viewScope.tocTemporarilyHidden
|
||||
&& this.noteContext.viewScope.viewMode === 'default';
|
||||
}
|
||||
|
||||
async doRenderBody() {
|
||||
|
||||
Reference in New Issue
Block a user