mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-25 09:25:49 +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";
|
||||
}
|
||||
}
|
||||
|
||||
updateWeeklyDayContainer();
|
||||
updateReposContainer();
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
{{define "body"}}
|
||||
|
||||
<script src="/static/settings.js"></script>
|
||||
|
||||
<form method="POST" action="{{routeUrl "save-settings"}}">
|
||||
|
||||
<div class="setting">
|
||||
|
|
@ -131,7 +133,10 @@
|
|||
|
||||
</form>
|
||||
|
||||
<script src="/static/settings.js"></script>
|
||||
<script>
|
||||
updateWeeklyDayContainer();
|
||||
updateReposContainer();
|
||||
</script>
|
||||
|
||||
{{end}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue