refactor: um.

This commit is contained in:
Ansolve 2024-01-12 20:58:39 +08:00
parent 0c50475296
commit 2854e28d78
No known key found for this signature in database
GPG Key ID: 2F2873AC9538CC2D
1 changed files with 1 additions and 1 deletions

View File

@ -1653,7 +1653,7 @@ export class Get extends Uninstantable {
} }
} }
} }
if (obj instanceof lib.element.Button || (obj instanceof HTMLDivElement && obj.classList.contains('button'))) return 'button'; if (obj instanceof lib.element.Button) return 'button';
if (obj instanceof lib.element.Card) return 'card'; if (obj instanceof lib.element.Card) return 'card';
if (obj instanceof lib.element.Player) return 'player'; if (obj instanceof lib.element.Player) return 'player';
if (obj instanceof lib.element.Dialog) return 'dialog'; if (obj instanceof lib.element.Dialog) return 'dialog';