File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ $(document).ready(function() {
114114
115115 const hitsPerPage = 10 ;
116116 let search = docsearch ( {
117- apiKey : 'bfb5bd7cad971d31ef8be599174334f3' ,
117+ container : '#docsearch' ,
118+ appId : '2DNYOU6YJZ' ,
119+ apiKey : '21ce3e522455e18e7ee16cf7d66edb4b' ,
118120 indexName : 'ezplatform' ,
119121 inputSelector : '#search_input' ,
120122 transformData : function ( hits ) {
@@ -231,4 +233,7 @@ $(document).ready(function() {
231233 closeBtn . closest ( '.notification' ) . setAttribute ( 'hidden' , 'hidden' ) ;
232234 } ) ;
233235 } ) ;
236+
237+ // Mark higher-level nodes with "New" pill, not only the actual item
238+ $ ( '.pill.new:not([hidden])' ) . parents ( '.md-nav__item' ) . children ( 'label' ) . children ( '.pill.new[hidden]' ) . removeAttr ( 'hidden' ) ;
234239} ) ;
You can’t perform that action at this time.
0 commit comments