Skip to content

Commit

Permalink
Update custom.js from master
Browse files Browse the repository at this point in the history
`git checkout master -- docs/js/custom.js`
  • Loading branch information
adriendupuis committed Jan 7, 2025
1 parent 733f934 commit d3737f1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ $(document).ready(function() {

const hitsPerPage = 10;
let search = docsearch({
apiKey: 'bfb5bd7cad971d31ef8be599174334f3',
container: '#docsearch',
appId: '2DNYOU6YJZ',
apiKey: '21ce3e522455e18e7ee16cf7d66edb4b',
indexName: 'ezplatform',
inputSelector: '#search_input',
transformData: function(hits) {
Expand Down Expand Up @@ -231,4 +233,7 @@ $(document).ready(function() {
closeBtn.closest('.notification').setAttribute('hidden', 'hidden');
});
});

// Mark higher-level nodes with "New" pill, not only the actual item
$('.pill.new:not([hidden])').parents('.md-nav__item').children('label').children('.pill.new[hidden]').removeAttr('hidden');
});

0 comments on commit d3737f1

Please sign in to comment.