Skip to content

Commit ea66db4

Browse files
committed
Removed debugging console lines
1 parent 112569a commit ea66db4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

main.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,12 @@ export default class VirtualFooterPlugin extends Plugin {
554554
}
555555
// Also check for markdown-embed class which indicates an embedded view (often in popovers)
556556
if (element.classList.contains('markdown-embed')) {
557-
//console.log("VirtualContent: Found markdown-embed, checking for parent popover");
557+
// console.log("VirtualContent: Found markdown-embed, checking for parent popover");
558558
// If it's a markdown-embed, check if it's inside a popover
559559
let parent = element.parentElement;
560560
while (parent) {
561561
if (parent.classList.contains('popover') && parent.classList.contains('hover-popover')) {
562-
console.log("VirtualContent: Found popover via markdown-embed parent");
562+
// console.log("VirtualContent: Found popover via markdown-embed parent");
563563
return true;
564564
}
565565
parent = parent.parentElement;
@@ -593,7 +593,7 @@ export default class VirtualFooterPlugin extends Plugin {
593593
* Process popover content directly when we can't find the MarkdownView
594594
*/
595595
private processPopoverDirectly(popover: HTMLElement): void {
596-
console.log("VirtualContent: Processing popover directly");
596+
// console.log("VirtualContent: Processing popover directly");
597597

598598
// Try to extract the file path from the popover
599599
const markdownEmbed = popover.querySelector('.markdown-embed');
@@ -638,9 +638,9 @@ export default class VirtualFooterPlugin extends Plugin {
638638
// Process the popover content directly
639639
this.injectContentIntoPopover(popover, cleanPath);
640640
} else {
641-
console.log("VirtualContent: Could not determine file path for popover");
642-
// Log the DOM structure for debugging
643-
console.log("VirtualContent: Popover DOM structure:", popover.innerHTML.substring(0, 1000));
641+
// console.log("VirtualContent: Could not determine file path for popover");
642+
// // Log the DOM structure for debugging
643+
// console.log("VirtualContent: Popover DOM structure:", popover.innerHTML.substring(0, 1000));
644644
}
645645
}
646646

0 commit comments

Comments
 (0)