Skip to content

Commit 08fe61e

Browse files
authored
Some minor property missmatch
Property title is assigned to property buttonText.
1 parent 2564bae commit 08fe61e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ var menuConfig = {
465465
function createMenu(config) {
466466
config.title = config.title || 'Foo'
467467
config.body = config.body || 'Bar'
468-
config.buttonText = config.title || 'Baz'
468+
config.buttonText = config.buttonText || 'Baz'
469469
config.cancellable = config.cancellable === undefined ? config.cancellable : true;
470470

471471
}

0 commit comments

Comments
 (0)