Fix incorrect data value when toggling bookmark flag on entry page
This commit is contained in:
parent
0227bb9828
commit
0b0f4751fa
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
data-label-loading="{{ t "Saving..." }}"
|
||||
data-label-star="☆ {{ t "Star" }}"
|
||||
data-label-unstar="★ {{ t "Unstar" }}"
|
||||
data-value="{{ if .Starred }}star{{ else }}unstar{{ end }}"
|
||||
data-value="{{ if .entry.Starred }}star{{ else }}unstar{{ end }}"
|
||||
>{{ if .entry.Starred }}★ {{ t "Unstar" }}{{ else }}☆ {{ t "Star" }}{{ end }}</a>
|
||||
</li>
|
||||
{{ if .hasSaveEntry }}
|
||||
|
|
Loading…
Reference in a new issue