File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6767 box-shadow : 0 8px 20px rgba (0 , 0 , 0 , 0.05 );
6868 }
6969 </ style >
70+ < script src ="https://cdn.jsdelivr.net/npm/@luigi-project/client@2.21.1/luigi-client.js "> </ script >
7071</ head >
7172< body >
7273 < div class ="center-box ">
@@ -108,13 +109,14 @@ <h1>Notebook Catalog</h1>
108109 } ) ;
109110 el . addEventListener ( 'click:result-action' , ( e ) => {
110111 const urlObj = new URL ( `${ e . detail . gitpuller } ` ) ;
111- const link = urlObj . pathname + urlObj . search
112- window . parent . postMessage ( {
112+ const link = urlObj . pathname + urlObj . search ;
113+ LuigiClient . linkManager ( ) . preserveQueryParams ( true ) . navigate ( link ) ;
114+ /*window.parent.postMessage({
113115 msg: 'luigi.navigation.open',
114116 params: {
115117 link: link,
116118 },
117- } , '*' ) ;
119+ }, '*');*/
118120 } ) ;
119121 el . addEventListener ( 'select' , ( e ) => {
120122 window . location . href = e . detail . link ;
You can’t perform that action at this time.
0 commit comments