about summary refs log tree commit diff stats
path: root/src/app.js
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-06-11 21:02:02 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-06-11 21:02:02 +0300
commite4020e8dfefc7df71114b14195e331fb7fb5bf83 (patch)
tree48ef7b3d87b552bdcca966afaa6f5639eaf5e33d /src/app.js
parent24187f28d3d8f5af06a56b89a74e4be7a7b0573d (diff)
downloadthe-epube-e4020e8dfefc7df71114b14195e331fb7fb5bf83.tar.gz
the-epube-e4020e8dfefc7df71114b14195e331fb7fb5bf83.tar.xz
add cosmetic git-based version to the UI, set on build
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index fd02999..095df1c 100644
--- a/src/app.js
+++ b/src/app.js
@@ -124,6 +124,8 @@ class AppClass extends AppCommon {
 
     version = BUILD_CACHE_VERSION;
 
+    cosmeticVersion = BUILD_VERSION;
+
     // cacheManifest = [];
 
     csrf_token = "";
@@ -186,6 +188,8 @@ class AppClass extends AppCommon {
             this.getAll();
         });
 
+        $(".cosmetic_version").attr('title', this.cosmeticVersion);
+
     }
 
     logout() {