I was building a bookdown website, I hit the "Build Book" button, a window with the book popped up and the search function worked just fine there.
I clicked "Open in Browser" to test the site in Firefox and now the search function didn't work.
I tried to open the rendered
index.html file in the
_book folder on both Chrome and Firefox and still got the same bug.
I can't figure it out what was wrong. I'm not good with words so here is a captured screencast of what was happened: