<form action="" id="prefs_form">
<div id="prefs_tabs">
<ul>
- <li onclick="changeTab(this, 'prefs_tab_general');" class="prefs_tab_enabled">General</li>
- <li onclick="changeTab(this, 'prefs_tab_speed');" class="prefs_tab_disabled">Speed</li>
+ <li id="prefs_tab_general_tab" class="prefs_tab_enabled">General</li>
+ <li id="prefs_tab_speed_tab" class="prefs_tab_disabled">Speed</li>
</ul>
<div id="prefs_tab_general" class="prefs_tab">
<div class="preference download_location">
$('#upload_confirm_button').bind('click', function(e){ tr.confirmUploadClicked(e); return false;});
$('#upload_cancel_button').bind('click', function(e){ tr.cancelUploadClicked(e); return false; });
$('#turtle_button').bind('click', function(e){ tr.toggleTurtleClicked(e); return false; });
+ $('#prefs_tab_general_tab').click(function(e){ changeTab(this, 'prefs_tab_general') });
+ $('#prefs_tab_speed_tab').click(function(e){ changeTab(this, 'prefs_tab_speed') });
+
if (iPhone) {
$('#inspector_close').bind('click', function(e){ tr.hideInspector(); });
$('#preferences_link').bind('click', function(e){ tr.releaseClutchPreferencesButton(e); });