mcmullins/Team-Tsevet — Issue #11: Accordions Opening after Resize
Author: mcmullins
Created: 2011-11-06 06:15:21+00:00
State: open
Labels: bug

If you start in *desktop* mode or if you switch to it after starting in *mobile*, the accordion opens up and reveals it's contents, rather than starting with the tabs closed. I tested adding

$('article .container').css('display','none')

to the resize detection, but the problem with that is that if the user resizes, but it doesn't switch to desktop, the accordion will collapse all of their currently open tabs.

Need to add some sort of detection for open tabs. Might possibly have to write own `slideToggle`