rename images-title to build-title v2.2.2
authorMoritz Warning <moritzwarning@web.de>
Thu, 2 Jul 2020 18:11:33 +0000 (20:11 +0200)
committerMoritz Warning <moritzwarning@web.de>
Sun, 19 Jul 2020 20:22:08 +0000 (22:22 +0200)
www/index.html
www/index.js

index 3d25eb0d777e5b04d6574828ebaaeaa4ab4dc1d5..baf19526e2c33123786e367a7c87956c60e138b4 100644 (file)
@@ -64,7 +64,7 @@
                        </div>
 
                        <div>
-                               <h3 id="images-title" class="tr-version-build">Release Build</h3>
+                               <h3 id="build-title" class="tr-version-build">Release Build</h3>
                                <div><span class="column tr-model">Model:</span> <span id="image-model"></span></div>
                                <div><span class="column tr-target">Target:</span> <span id="image-target"></span></div>
                                <div><span class="column tr-version">Version:</span> <span id="image-version"></span> (<span id="image-code"></span>)</div>
index c541b70839e7734193faa7b3ea4f41ea47666902..16b2d69e5eab8701b3dda5d8564fe575a1788786 100644 (file)
@@ -363,10 +363,10 @@ function updateImages(version, code, date, model, url, mobj, is_custom) {
 
     // change between "version" and "custom" title
     if (is_custom) {
-      switchClass('#images-title', 'tr-version-build', 'tr-custom-build');
+      switchClass('#build-title', 'tr-version-build', 'tr-custom-build');
       switchClass('#downloads-title', 'tr-version-downloads', 'tr-custom-downloads');
     } else {
-      switchClass('#images-title', 'tr-custom-build', 'tr-version-build');
+      switchClass('#build-title', 'tr-custom-build', 'tr-version-build');
       switchClass('#downloads-title', 'tr-custom-downloads', 'tr-version-downloads');
     }