trilbymedia / grav-plugin-tntsearch

Powerful indexed-based full text search engine powered by the TNTSearch library
https://trilby.media
MIT License
61 stars 23 forks source link

Reinitialize tntsearch.js #53

Open elemention opened 6 years ago

elemention commented 6 years ago

How can i properly reinitialize tntsearch.js script? I need it because i use barba.js (https://github.com/luruke/barba.js) with preload and i need reinit all additional scripts on page changed. When i reinitialize all tntsearch.js script i get error "Uncaught (in promise) Error: only one instance of babel-polyfill is allowed" ( line 2999 tentatively ).

rhukster commented 6 years ago

@w00fz can you answer this one?