More actions
No edit summary |
No edit summary |
||
| Line 317: | Line 317: | ||
})(jQuery); | })(jQuery); | ||
}catch(e){console.log("Pehuen screwed up! Post on the forums.", e);} | }catch(e){console.log("Pehuen screwed up! Post on the forums.", e);} | ||
document.addEventListener('DOMContentLoaded', function () { | |||
const fakeSearchBox = document.getElementById('skin-citizen-search-trigger'); | |||
const realSearchButton = document.querySelector('.citizen-header__search'); | |||
if (fakeSearchBox && realSearchButton) { | |||
fakeSearchBox.addEventListener('click', function () { | |||
realSearchButton.click(); | |||
}); | |||
} | |||
}); | |||