Fix: Settings initial page load is smoother.

pull/2/head
Mark McDowall 13 years ago
parent 6e86db66c8
commit 55d899fe2b

@ -4,6 +4,11 @@
margin: 0;
padding: 0;
}
.jquery-tabs {
display: none;
}
.spacer
{
clear: both;

@ -30,6 +30,8 @@
});
$('.jquery-tabs').livequery(function () {
$(this).show();
$(this).tabs({
fx: { opacity: 'toggle' },
select: function (event, ui) {

@ -10,7 +10,7 @@
<div class="jquery-tabs">
<ul>
<li>@Html.ActionLink("Naming", "Naming", "Settings")</li>
<li><a href="#Naming">Naming</a></li>
<li>@Html.ActionLink("Quality", "Quality", "Settings")</li>
<li>@Html.ActionLink("Indexers", "Indexers", "Settings")</li>
<li>@Html.ActionLink("Download Client", "DownloadClient", "Settings")</li>
@ -18,6 +18,8 @@
<li>@Html.ActionLink("System", "System", "Settings")</li>
<li>@Html.ActionLink("Misc", "Misc", "Settings")</li>
</ul>
<div id="Naming">@{ Html.RenderAction("Naming", "Settings"); }</div>
</div>
@section Scripts{

Loading…
Cancel
Save