aboutsummaryrefslogtreecommitdiffstats
path: root/mod/nojs.php
Commit message (Collapse)AuthorAgeFilesLines
* module updatesredmatrix2016-04-181-10/+0
|
* refactor the js detection into a checkjs class which is only enabled on ↵redmatrix2016-04-131-1/+2
| | | | demand (currently only the channel and display pages). Will probably require a bit more work to hide/disable the cover photo when js is disabled. Have not actually tested without js to discover any other potential page issues. Have only confirmed that the detection class works and redirects to set a jsdisabled cookie and reload the page with that cookie+variable set if called from the channel page.
* reverse the logic of the jsenabled setting so that sessions without js are ↵redmatrix2016-04-121-0/+9
performance penalised instead of regular sessions.