#4890 closed defect (bug) (fixed)
BP Theme Compat and no-js body class
| Reported by: | imath | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.7 |
| Component: | Templates | Version: | 1.7 |
| Severity: | major | 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
@
13 years ago
- Milestone Awaiting Review → 1.7
- Priority normal → high
- Severity minor → major
#2
in reply to: ↑ 1
@
13 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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This must be fixed if true. Moving to 1.7 for review.