Selaa lähdekoodia

bugfix: Timestamp "IDs" need to be a string

jamesread 2 vuotta sitten
vanhempi
commit
216ccbfcef
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      webui/js/ActionButton.js

+ 1 - 1
webui/js/ActionButton.js

@@ -57,7 +57,7 @@ class ActionButton extends window.HTMLElement {
     if (window.isSecureContext) {
       return window.crypto.randomUUID()
     } else {
-      return Date.now()
+      return Date.now().toString()
     }
   }