[wp-trac] [WordPress Trac] #33184: Customizer: unnecessary events bound on some section titles
WordPress Trac
noreply at wordpress.org
Mon Aug 3 22:12:00 UTC 2015
#33184: Customizer: unnecessary events bound on some section titles
--------------------------+----------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: accessibility, javascript
--------------------------+----------------------------------------
Comment (by afercia):
Hm... there are probably some workarounds, the first that comes into my
mind is adding a class `.not-an-accordion` and then filter out elements
with that class in `accordion.js`. Not so clean I know, open to any
suggestion to filter out elements that really don't need that events
attached.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33184#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list