Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
Example won't work if 'Options1' is used instead of 'Option1'.
  • Loading branch information
gezbo authored Jun 29, 2018
1 parent 1980994 commit c456bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ui/dialogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ dialogs.action({
actions: ["Option1", "Option2"]
}).then(result => {
console.log("Dialog result: " + result);
if(result == "Options1"){
if(result == "Option1"){
//Do action1
}else if(result == "Option2"){
//Do action2
Expand Down

0 comments on commit c456bc6

Please sign in to comment.