Skip to content

Commit d3737f1

Browse files
committed
Update custom.js from master
`git checkout master -- docs/js/custom.js`
1 parent 733f934 commit d3737f1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/js/custom.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)