mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-11 13:26:16 +00:00
@@ -9,7 +9,6 @@ export const setting: Action<HTMLInputElement, {id: number; inverse?: number; sc
|
||||
const type = node.getAttribute("type") as "number" | "checkbox"
|
||||
const min = node.hasAttribute("min") ? Number(node.getAttribute("min")) : undefined
|
||||
const max = node.hasAttribute("max") ? Number(node.getAttribute("max")) : undefined
|
||||
console.log(min, max, "|", id, "|", node.getAttribute("min"), node.getAttribute("max"))
|
||||
|
||||
const unsubscribe = settings.subscribe(async settings => {
|
||||
if (id in settings) {
|
||||
|
||||
Reference in New Issue
Block a user