From 76b17c1cf26011ab11adf3090701b357cb6aecc0 Mon Sep 17 00:00:00 2001 From: MrExplode Date: Tue, 20 Feb 2024 14:01:28 +0100 Subject: [PATCH] feat: util functions --- src/utils.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/utils.ts diff --git a/src/utils.ts b/src/utils.ts new file mode 100644 index 0000000..a2b5464 --- /dev/null +++ b/src/utils.ts @@ -0,0 +1,5 @@ +import $ from 'jquery' + +export function isTokenModelOpen(): boolean { + return $('#tokenValidationModal').css('display') !== 'none' +}