1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00

Fix: Settings initial page load is smoother.

This commit is contained in:
Mark McDowall 2012-02-29 16:51:31 -08:00
parent 6e86db66c8
commit 55d899fe2b
3 changed files with 10 additions and 1 deletions

View file

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

View file

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

View file

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