From e3df58e15395062350665cdac2a4980584ea7924 Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 26 Mar 2022 14:28:10 +0100 Subject: [PATCH] wip #5181 @0.25 --- resources/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/search.js b/resources/js/search.js index 6469bda..66c3d67 100644 --- a/resources/js/search.js +++ b/resources/js/search.js @@ -41,7 +41,7 @@ export default () => ({ // PDFs can be opened directly if (result.type === 'pdf') { - attributes = '@click.prevent="openPDF($el.attributes.href.value); closeSearch();"'; + attributes = '@click.prevent="console.log($el.attributes.href.value); openPDF($el.attributes.href.value); closeSearch();"'; } return `${result.displayedTitle}`; -- 2.39.5