From 407f5a499f64d6cbbf7ef438f305db46063b4b17 Mon Sep 17 00:00:00 2001 From: boxgaming <75969133+boxgaming@users.noreply.github.com> Date: Mon, 2 May 2022 16:05:54 -0500 Subject: [PATCH] Fixed Confirm method to be a Function instead of a Sub --- lib/web/dom.bas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/web/dom.bas b/lib/web/dom.bas index 6c438c3..ac744a0 100644 --- a/lib/web/dom.bas +++ b/lib/web/dom.bas @@ -27,11 +27,11 @@ $If Javascript Then $End If End Sub -Sub Confirm (text) +Function Confirm (text) $If Javascript Then Confirm = confirm(text) ? -1 : 0; $End If -End Sub +End Function Sub Add (e, parent, beforeElement) $If Javascript Then