Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <git@upagge.ru>2021-02-18 20:03:14 +0300
committeruPagge <git@upagge.ru>2021-02-18 20:03:14 +0300
commitf8775319ad158996f1a344cbb41c3ea2e686306a (patch)
treece0106031ddb718d091fa0a93813a14a56129c43 /layouts/posts
parentb4627dd4828e4e4ed5fdbbb9c21ebeaa823b570a (diff)
minify
Diffstat (limited to 'layouts/posts')
-rw-r--r--layouts/posts/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index ce16ce7..938857c 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -271,7 +271,7 @@
const response = JSON.parse(this.response);
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_value").textContent = response.value.toLocaleString(undefined, {minimumFractionDigits: 0});
document.querySelector("#views_container").style.display = '';
}
} else {