[wp-trac] [WordPress Trac] #19061: .pinkynail image toggling is reversed for single file uploads

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 1 08:38:47 UTC 2011

#19061: .pinkynail image toggling is reversed for single file uploads
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  UI              |     Version:  3.2.1
 Severity:  normal          |  Resolution:
 Keywords:                  |

Comment (by solarissmoke):

 Looking at the code, it seems that the intention was that when there is
 only one item, the toggle bar doesn't show at all:

 // Just one file, no need for collapsible part
 if ( one.length == 1 ) {

 However the "hidden" class gets overwritten by the inline styling applied
 by `toggle()` and then the pinknail and show/hide link show when then

Ticket URL: <http://core.trac.wordpress.org/ticket/19061#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list