#4890 closed defect (bug) (fixed)
BP Theme Compat and no-js body class
Reported by: | imath | Owned by: | |
---|---|---|---|
Milestone: | 1.7 | Priority: | high |
Severity: | major | Version: | 1.7 |
Component: | Templates | Keywords: | has-patch commit |
Cc: |
Description
Hi,
If on BP Theme Compat, the no-js class is not added to the body tag. As a result, if the browser has disabled javascript, then, for instance, the activity post button is not visible. However, the bp-legacy/css/buddypress.css contains some style for the no-js class... So i suggest the diff attached to this ticket in order to add the no-js class to body class and let bp-legacy/js/buddypres.js replaces this class by a 'js' one.
Attachments (2)
Change History (8)
#1
follow-up:
↓ 2
@
11 years ago
- Milestone changed from Awaiting Review to 1.7
- Priority changed from normal to high
- Severity changed from minor to major
#2
in reply to:
↑ 1
@
11 years ago
Replying to boonebgorges:
This must be fixed if true. Moving to 1.7 for review.
That's what i've noticed in twentytwelve. Then i thought, if a theme adds a no-js, maybe the filter should be done later and check the body_class array before adding the no-js class..
That's why i added the 4890-improved.diff
This must be fixed if true. Moving to 1.7 for review.