瀏覽代碼

bugfix: Timestamp "IDs" need to be a string

jamesread 2 年之前
父節點
當前提交
216ccbfcef
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()
     }
   }