Changes between Initial Version and Version 1 of Ticket #7314, comment 10
- Timestamp:
- 11/28/2016 12:25:19 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7314, comment 10
initial v1 1 1 I think that is the wrong approach. 2 2 3 9--> 2017 has `no-js` in its template, and removes it if JS is present in its `twentyseventeen_javascript_detection()` (hooked to `wp_head` at priority 0), which will run pretty soon after page load. It's VERY near the top of the page.3 --> 2017 has `no-js` in its template, and removes it if JS is present in its `twentyseventeen_javascript_detection()` (hooked to `wp_head` at priority 0), which will run pretty soon after page load. It's VERY near the top of the page. 4 4 5 5 --> BP adds `no-js` via `body_class` and removes it in our buddypress.js, inside a jQuery `ready` callback. (i.e. much later than 2017's).