Bug Tracker

Changeset 4450

Show
Ignore:
Timestamp:
01/14/08 21:59:24 (1 year ago)
Author:
joern.zaefferer
Message:

don't return false when non-header elements are clicked (or whatever event is used

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/current/ui.accordion.js

    r4425 r4450  
    180180             
    181181            // if animations are still active, or the active header is the target, ignore click 
    182             if(running || (settings.alwaysOpen && clickedActive) || !clicked.is(settings.header)) 
     182            if (running || (settings.alwaysOpen && clickedActive)) 
    183183                return false; 
     184            if (!clicked.is(settings.header)) 
     185                return; 
    184186 
    185187            // switch classes