Can’t speak for why it works on GitHub and not GitLab, but if you check the browser’s console you’re getting the following JavaScript errros:
search.js:36 Uncaught TypeError: Cannot read property 'setAttribute' of null
at search.js:36
at search.js:61
(anonymous) @ search.js:36
(anonymous) @ search.js:61