Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7314, comment 10


Ignore:
Timestamp:
11/28/2016 12:25:19 PM (4 years ago)
Author:
DJPaul
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7314, comment 10

    initial v1  
    11I think that is the wrong approach.
    22
    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.
    44
    55--> 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).