Closed Reptilioo closed 6 months ago
@Reptilioo
Another thing, is .info-notification-box supposed to show in the upper-center side of the viewport?
Yes, ideally. No particular preference though.
I've moved the addEventListener()
s to the very end and the issue with search seems to be fixed.
There is an issue with
infoButton.addEventListener("click", function (event)){});
anddocument.addEventListener("click", function (event) {});
being called indisplaySuttas()
-> everytime a search is made, a new similar event is added toinfoButton
(at least on chrome) so if this button have an even number of the same event: when clicking the button the box is shown and directly hidden. -> We could just put theseaddEventListener()
to the end ofindex.js
Another thing, is
.info-notification-box
supposed to show in the upper-center side of the viewport?