diff options
author | uPagge <git@upagge.ru> | 2021-02-18 19:47:18 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-02-18 19:47:18 +0300 |
commit | b4627dd4828e4e4ed5fdbbb9c21ebeaa823b570a (patch) | |
tree | 99579d63373a9c7228940c66512a7a67af9778b6 /layouts | |
parent | 08f4b17a9583c4fe6b9ba6876268b99202799182 (diff) |
minify
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/posts/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index cdf7873..ce16ce7 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -269,7 +269,7 @@ request.onload = function () { if (this.status >= 200 && this.status < 400) { const response = JSON.parse(this.response); - const views = response.views; + const views = response.value; if (views >= 1 && document.querySelector("#views_value") != null) { document.querySelector("#views_value").textContent = response.views.toLocaleString(undefined, {minimumFractionDigits: 0}); document.querySelector("#views_container").style.display = ''; |