mirror of
https://github.com/boxgaming/qbjs.git
synced 2024-09-19 20:14:58 +00:00
Fixed Confirm method to be a Function instead of a Sub
This commit is contained in:
parent
43d8a88042
commit
407f5a499f
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ $If Javascript Then
|
||||||
$End If
|
$End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub Confirm (text)
|
Function Confirm (text)
|
||||||
$If Javascript Then
|
$If Javascript Then
|
||||||
Confirm = confirm(text) ? -1 : 0;
|
Confirm = confirm(text) ? -1 : 0;
|
||||||
$End If
|
$End If
|
||||||
End Sub
|
End Function
|
||||||
|
|
||||||
Sub Add (e, parent, beforeElement)
|
Sub Add (e, parent, beforeElement)
|
||||||
$If Javascript Then
|
$If Javascript Then
|
||||||
|
|
Loading…
Reference in a new issue