Skip to content

Commit 5fbed04

Browse files
style: auto-fix prettier formatting
1 parent c65b3b3 commit 5fbed04

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

examples/pdf-server/src/mcp-app.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -541,10 +541,7 @@ function openSearch() {
541541
searchBarEl.style.display = "flex";
542542
updateSearchUI();
543543
searchInputEl.focus();
544-
if (
545-
panelState.open &&
546-
annotationsPanelEl.classList.contains("floating")
547-
) {
544+
if (panelState.open && annotationsPanelEl.classList.contains("floating")) {
548545
applyFloatingPanelPosition();
549546
}
550547
// Text extraction is handled by the background preloader
@@ -554,10 +551,7 @@ function closeSearch() {
554551
if (!searchOpen) return;
555552
searchOpen = false;
556553
searchBarEl.style.display = "none";
557-
if (
558-
panelState.open &&
559-
annotationsPanelEl.classList.contains("floating")
560-
) {
554+
if (panelState.open && annotationsPanelEl.classList.contains("floating")) {
561555
applyFloatingPanelPosition();
562556
}
563557
searchQuery = "";

0 commit comments

Comments
 (0)