themes/iphone/expand.js
author Dan
Mon, 01 Sep 2008 13:05:52 -0400
changeset 39 38dbcda3cf20
parent 5 9b96265b5918
permissions -rw-r--r--
Fixed scroll-to-current-track being about 30 pixels off under iPhone

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';
  }
}