diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/display-sidebar-history.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/display-sidebar-history.htm b/data/templates/display-sidebar-history.htm index fc7cbc5..b3ef9df 100644 --- a/data/templates/display-sidebar-history.htm +++ b/data/templates/display-sidebar-history.htm @@ -2,7 +2,7 @@ <ul class="history unstyled"> {% for commit in repo.getHistory %} - <li {% if commit.hash == repo.hash %}class="active"{%endif%}> + <li {% if commit.hash == repo.hash or (repo.hash == '' and loop.first) %}class="active"{%endif%}> {% spaceless %} {% for dot in commit.getDots %} <img src="/phorkie/dot-{{dot}}.png" alt="" style="padding-left:1px" width="4" height="4"/> |
