diff --git a/src/main.ts b/src/main.ts index 8dbebd9..634c8b1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -391,14 +391,11 @@ export default class PluginsAnnotations extends Plugin { ): void { next.call(this, pluginManifest, containerEl, nameMatch, authorMatch, descriptionMatch); - // Add your custom code for personal annotations here - const annotation = self.settings.annotations[pluginManifest.id]; - if (annotation) { - if(containerEl && containerEl.lastElementChild) - { - self.addAnnotation(containerEl.lastElementChild) - } - } + // Custom code for personal annotations here + if(containerEl && containerEl.lastElementChild) + { + self.addAnnotation(containerEl.lastElementChild) + } }; } });