Event handlers on search button are prevented by app
-
Could be a bug or totally intended, it's more a warning than an actual bug report.
The
.off()
in app.js on this line
https://github.com/NodeBB/NodeBB/blob/master/public/src/app.js#L444Is preventing to bind any events on the search button.
I needed it for my theme and had to remove the .off to make it work.
What is the function of this one in that case and why removing all the handled events ? Is there a down part in removing that ?
Copyright © 2024 NodeBB | Contributors