changeset 2364:1d9a0a304dc7

rm dead features
author drewp@bigasterisk.com
date Sat, 03 Jun 2023 18:31:35 -0700
parents e38429c283bc
children b61c2369aa08
files light9/ascoltami/Light9AscoltamiUi.ts light9/ascoltami/index.html
diffstat 2 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/light9/ascoltami/Light9AscoltamiUi.ts	Sat Jun 03 18:30:58 2023 -0700
+++ b/light9/ascoltami/Light9AscoltamiUi.ts	Sat Jun 03 18:31:35 2023 -0700
@@ -252,13 +252,6 @@
       const h1 = document.querySelector("h1")!;
       h1.innerText = h1.innerText.replace("{{host}}", config.host);
     } catch (e) {}
-    // byId("nav").innerText = navigator.userAgent;
-    var updateFreq = navigator.userAgent.indexOf("Linux") != -1 ? 10 : 2;
-    // if (navigator.userAgent.match(/Windows NT/)) {
-    //   // helper laptop
-    //   updateFreq = 10;
-    // }
-    byId("updateReq").innerText = "" + updateFreq;
 
     (window as any).finishOldStyleSetup(this.times, this.onOldStyleUpdate.bind(this));
   }
--- a/light9/ascoltami/index.html	Sat Jun 03 18:30:58 2023 -0700
+++ b/light9/ascoltami/index.html	Sat Jun 03 18:31:35 2023 -0700
@@ -68,10 +68,7 @@
           </tr>
           <tr>
             <td colspan="3">
-              <strong>Update freq:</strong> requested
-              <span id="updateReq"></span>, actual
-              <span id="updateActual"></span> <strong>States:</strong>
-              <span id="states"></span>
+               <span id="states"></span>
             </td>
           </tr>
         </table>