mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-04-27 15:07:43 +00:00
Fix flash of repo list in settings page during load.
This commit is contained in:
parent
7405cb5651
commit
cd88fad2ac
2 changed files with 6 additions and 4 deletions
|
|
@ -21,6 +21,3 @@ function updateReposContainer() {
|
||||||
reposContainerNode.style.display = "none";
|
reposContainerNode.style.display = "none";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
updateWeeklyDayContainer();
|
|
||||||
updateReposContainer();
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
{{define "body"}}
|
{{define "body"}}
|
||||||
|
|
||||||
|
<script src="/static/settings.js"></script>
|
||||||
|
|
||||||
<form method="POST" action="{{routeUrl "save-settings"}}">
|
<form method="POST" action="{{routeUrl "save-settings"}}">
|
||||||
|
|
||||||
<div class="setting">
|
<div class="setting">
|
||||||
|
|
@ -131,7 +133,10 @@
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script src="/static/settings.js"></script>
|
<script>
|
||||||
|
updateWeeklyDayContainer();
|
||||||
|
updateReposContainer();
|
||||||
|
</script>
|
||||||
|
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue