Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit c456bc6

Browse files
author
gezbo
authored
Typo
Example won't work if 'Options1' is used instead of 'Option1'.
1 parent 1980994 commit c456bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ui/dialogs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ dialogs.action({
283283
actions: ["Option1", "Option2"]
284284
}).then(result => {
285285
console.log("Dialog result: " + result);
286-
if(result == "Options1"){
286+
if(result == "Option1"){
287287
//Do action1
288288
}else if(result == "Option2"){
289289
//Do action2

0 commit comments

Comments
 (0)