themes/iphone/expand.js
author Dan
Tue, 26 May 2009 15:26:59 -0400
changeset 72 b8730fcd64a9
parent 5 9b96265b5918
permissions -rw-r--r--
Some UI changes I don't feel like auditing over and over until I understand (commiting some very old changes here)

function expand_track(tid)
{
  var div = document.getElementById('track_inner_' + tid);
  if ( div.style.display == 'block' )
  {
    div.style.display = 'none';
  }
  else
  {
    div.style.display = 'block';
  }
}