egelmex / TinkerWeb

2 stars 3 forks source link

Wrap upcoming events in a NOSCRIPT tag #48

Open egelmex opened 10 years ago

egelmex commented 10 years ago

Make Upcoming events link to the calendar page if javascript is disabled instead of showing empty template.

egelmex commented 9 years ago

This is not as easy as I would hope, the noscript tag only lets you add additional content if no JS not switch between content. We would have to write a small bit of extra JS to inject the template, at which point we could do all the magic without noscript tags.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript