diff options
author | Dave Z <dzaikos@users.noreply.github.com> | 2018-06-28 21:56:04 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-06-28 18:56:04 -0700 |
commit | 0b0f4751fa250dfba49d941bc5d3670bc9629354 (patch) | |
tree | a4390ad7526cf4735d6a852dba34d9f1eb55c5ed /template/html | |
parent | 0227bb98281a4cd3d00dca6b01df11d2a02da5fc (diff) |
Fix incorrect data value when toggling bookmark flag on entry page
Diffstat (limited to 'template/html')
-rw-r--r-- | template/html/entry.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/html/entry.html b/template/html/entry.html index cc061aa..5fe5001 100644 --- a/template/html/entry.html +++ b/template/html/entry.html @@ -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 }} |