File tree
Expand file treeCollapse file tree1 file changed
+1
-2
lines changed Expand file treeCollapse file tree1 file changed
+1
-2
lines changed Original file line number | Diff line number | Diff line change |
---|
|
1 |
| - |
2 | 1 | # clean-code-javascript
|
3 | 2 |
|
4 | 3 | ## Table of Contents
|
@@ -474,7 +473,7 @@ function createMenu(config) {
|
474 | 473 | config.title = config.title || 'Foo';
|
475 | 474 | config.body = config.body || 'Bar';
|
476 | 475 | config.buttonText = config.buttonText || 'Baz';
|
477 |
| -config.cancellable = config.cancellable === undefined ? config.cancellable : true; |
| 476 | +config.cancellable = config.cancellable !== undefined ? config.cancellable : true; |
478 | 477 | }
|
479 | 478 |
|
480 | 479 | createMenu(menuConfig);
|
|
You can’t perform that action at this time.
0 commit comments