Skip to content

Commit

Permalink
fix one thing
Browse files Browse the repository at this point in the history
  • Loading branch information
fergusean committed Mar 12, 2024
1 parent 344184f commit 7d7290d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@signal24/vue-foundation",
"type": "module",
"version": "4.13.7",
"version": "4.13.8",
"description": "Common components, directives, and helpers for Vue 3 apps",
"module": "./dist/vue-foundation.es.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/mask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type FormMaskElement = Element & IFormMaskState;

export function maskForm(formOrCmp: Element | AnyComponentPublicInstance, buttonSelector?: string | Element, buttonText?: string) {
const form = formOrCmp instanceof Element ? formOrCmp : getFormFromCmp(formOrCmp);
if (!form) return;
if (!form) return () => {};

form.classList.add('vf-masked');

Expand Down

0 comments on commit 7d7290d

Please sign in to comment.