Fixed scroll-to-current-track being about 30 pixels off under iPhone
authorDan
Mon, 01 Sep 2008 13:05:52 -0400
changeset 39 38dbcda3cf20
parent 38 87fe0dec1536
child 40 bd3372a2afc1
Fixed scroll-to-current-track being about 30 pixels off under iPhone
scripts/ajax.js
--- a/scripts/ajax.js	Sun Aug 24 02:04:09 2008 -0400
+++ b/scripts/ajax.js	Mon Sep 01 13:05:52 2008 -0400
@@ -390,7 +390,7 @@
 // scroll to the current track
 function jump_current_track()
 {
-  var top = $('track_' + current_track).Top() - 138;
+  var top = $('track_' + current_track).Top() - 164;
   window.scroll(0, top);
   if ( typeof(fix_scroll) == 'function' )
   {