Hi all,
we've a requirement to add the custom button in aem search page after selected single asset. The same feature we implemented in assets page using JS its working as expected. But, when we add the logic in ominisearch.js it is not showing the button even load the pages multiple time.
Please share your input to sort the issue.