[2.6.2] Change vanilla and vanilla-ts templates to attach the click handler through Javascript, instead of assigining to the window object.� f5f8628 refactor: remove vanilla templates assignment to window object (#212) on 2022-10-11