1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-09-20 04:24:45 +00:00

Fixed Confirm method to be a Function instead of a Sub

This commit is contained in:
boxgaming 2022-05-02 16:05:54 -05:00
parent 43d8a88042
commit 407f5a499f

View file

@ -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